通达信暴涨临界点90
VAR1:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),5));
VAR2:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),10));
VAR3:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),20));
VAR4:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),60));
VAR5:=MA(CLOSE,MIN(BARSCOUNT(CLOSE),120));
VAR6:=MAX(VAR1,MAX(VAR2,MAX(VAR3,MAX(VAR4,VAR5))));
VAR7:=CLOSE>VAR4 AND VAR3>VAR4 AND VAR4>REF(VAR4,1) AND CLOSE<ZTPRICE(REF(CLOSE,1),0.1) AND 1.1*CLOSE>=VAR6;
VAR8:=NAMELIKE(1)+NAMELIKE(2)+NAMELIKE(3)=0;
VAR9:=COUNT(CLOSE>=OPEN,40)-COUNT(CLOSE<OPEN,40)>=2;
VAR10:=REF(VAR7 AND VAR8 AND VAR9,1);{}
VAR11:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1);
VAR12:=VAR1>REF(VAR1,1) AND VAR2>REF(VAR2,1) AND VAR3>REF(VAR3,1);
VAR13:=ATAN((EMA(CLOSE,3)/REF(EMA(CLOSE,3),1)-1)*100)*180/3.14;
VAR14:=CROSS(CLOSE,REF(HHV(CLOSE,20),1)) AND COUNT(CROSS(CLOSE,REF(HHV(CLOSE,20),1)) AND VAR11>=0.06,3)=1 AND VAR12;
VAR15:=CROSS(CLOSE,REF(HHV(CLOSE,40),1)) AND COUNT(CROSS(CLOSE,REF(HHV(CLOSE,40),1)) AND VAR11>=0.06,3)=1 AND VAR12;
VAR16:=CROSS(CLOSE,REF(HHV(CLOSE,60),1)) AND COUNT(CROSS(CLOSE,REF(HHV(CLOSE,60),1)) AND VAR11>=0.06,3)=1 AND VAR12;
VAR17:=EXIST(CROSS(CLOSE,VAR6),2) AND COUNT(CROSS(CLOSE,VAR6),5)=1;
VAR18:=CROSS(VAR13,78) AND VAR1>=VAR2 AND VAR12 OR VAR13-REF(VAR13,1)>=150;
VAR19:=CLOSE/REF(CLOSE,1)>=1.07 AND HIGH>LOW AND DYNAINFO(4)>0;
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18 AND VAR19;
未来函数检测结果如下:
该公式包含未来函数:DYNAINFO
解密、编写股票、期货策略请联系QQ或微信同号:88652583
相关股票指标公式
原理解析:
VAR1赋值:MA(收盘价,MIN(收盘价的有效数据周期数,5))
VAR2赋值:MA(收盘价,MIN(收盘价的有效数据周期数,10))
VAR3赋值:MA(收盘价,MIN(收盘价的有效数据周期数,20))
VAR4赋值:MA(收盘价,MIN(收盘价的有效数据周期数,60))
VAR5赋值:MA(收盘价,MIN(收盘价的有效数据周期数,120))
VAR6赋值:MAX(VAR1,MAX(VAR2,MAX(VAR3,MAX(VAR4,VAR5))))
VAR7赋值:收盘价>VAR4 AND VAR3>VAR4 AND VAR4>1日前的VAR4 AND 收盘价=VAR6
VAR8赋值:NAMELIKE(1)+NAMELIKE(2)+NAMELIKE(3)=0
VAR9赋值:统计40日满足收盘价>=开盘价的天数-统计40日满足收盘价<开盘价的天数>=2
VAR10:=1日前的VAR7 AND VAR8 AND VAR9
{}
VAR11:=(收盘价-1日前的收盘价)/1日前的收盘价
VAR12:=VAR1>1日前的VAR1 AND VAR2>1日前的VAR2 AND VAR3>1日前的VAR3
VAR13:=ATAN((收盘价的3日指数移动平均/1日前的收盘价的3日指数移动平均-1)*100)*180/3.14
VAR14:=CROSS(收盘价,REF(20日内收盘价最高值,1)) AND COUNT(CROSS(收盘价,REF(20日内收盘价最高值,1)) AND VAR11>=0.06,3)=1 AND VAR12
VAR15:=CROSS(收盘价,REF(40日内收盘价最高值,1)) AND COUNT(CROSS(收盘价,REF(40日内收盘价最高值,1)) AND VAR11>=0.06,3)=1 AND VAR12
VAR16:=CROSS(收盘价,REF(60日内收盘价最高值,1)) AND COUNT(CROSS(收盘价,REF(60日内收盘价最高值,1)) AND VAR11>=0.06,3)=1 AND VAR12
VAR17:=最近2日存在收盘价上穿VAR6 AND 统计5日满足收盘价上穿VAR6的天数=1
VAR18:=VAR13上穿78 AND VAR1>=VAR2 AND VAR12 OR VAR13-1日前的VAR13>=150
VAR19:=收盘价/1日前的收盘价>=1.07 AND 最高价>最低价 AND 开盘价>0
VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18 AND VAR19