通达信鱼跃于渊 源码贴图
HJ_1:=LLV(LOW,30)=OPEN AND CLOSE>1.02*OPEN AND OPEN/HHV(HIGH,30)<0.55;
HJ_2:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),0-VOL,0)),0);
HJ_3:=SUMBARS(VOL,CAPITAL);{}
HJ_4:=IF(CLOSE>LLV(CLOSE,HJ_3),1,0-1)*IF(HJ_3,1,0-1);
HJ_5:=IF(HJ_4=0-1,1,0);
HJ_6:=COUNT(HJ_5=1,8)>3;
HJ_7:=SUM(AMOUNT,13)/(AMOUNT/VOL/100)/100;
HJ_8:=DMA((OPEN+HIGH+LOW+CLOSE)/4,VOL/HJ_7);
HJ_9:=(CLOSE-HJ_8)/HJ_8*100<0-17;
HJ_10:=(CLOSE-MIN(REF(CLOSE,5)*0.83,REF(CLOSE,21)*0.72))/CLOSE<0.05;
HJ_11:=HJ_9 AND HJ_10 AND HJ_6;
HJ_12:=HJ_11>0 AND REF(HJ_11,1)=0;
HJ_13:=COUNT(HJ_12,5) AND CLOSE>OPEN;
HJ_14:=COUNT(HJ_13,5)=1 AND HJ_13;
泓铭鱼跃于渊:HJ_1 AND HJ_14;
{-----------------------------------}
未来函数检测结果如下:
该公式包含未来函数:CAPITAL
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
HJ_1赋值:30日内最低价最低值=开盘价 AND 收盘价>1.02*开盘价 AND 开盘价/30日内最高价最高值<0.55
HJ_2赋值:SUM(IF(收盘价>1日前的收盘价,成交量,IF(收盘价<1日前的收盘价,0-成交量,0)),0)
HJ_3赋值:成交量累加至当前流通股本的天数
{}
HJ_4赋值:IF(收盘价>HJ_3日内收盘价最低值,1,0-1)*IF(HJ_3,1,0-1)
如果HJ_4=0-1返回1否则返回0
HJ_6赋值:统计8日满足HJ_5=1的天数>3
HJ_7赋值:13的成交额日累和/(成交额/成交量/100)/100
HJ_8赋值:DMA((开盘价+最高价+最低价+收盘价)/4,成交量/HJ_7)
HJ_9赋值:(收盘价-HJ_8)/HJ_8*100<0-17
HJ_10:=(收盘价-5日前的收盘价*0.83和21日前的收盘价*0.72的较小值)/收盘价<0.05
HJ_11:=HJ_9 AND HJ_10 AND HJ_6
HJ_12:=HJ_11>0 AND 1日前的HJ_11=0
HJ_13:=统计5日满足HJ_12的天数 AND 收盘价>开盘价
HJ_14:=统计5日满足HJ_13的天数=1 AND HJ_13
输出
泓铭鱼跃于渊:HJ_1 AND HJ_14
{-----------------------------------}