通达信定妖股指标公式

时间:2025-01-15 14:03:15    阅读:3

 N:=2;ZT:=C>=ZTPRICE(REF(C,1),0.1);ZBCLN:=(COUNT(ZT,N)=1 AND ZT);ZBCL1:=V/700000000;ZBCL2:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1);ZBCL3:=2.5*MAX(ZBCL1,ZBCL2);ZBCL4:=DMA(C,ZBCL3);ZBCL5:=SMA(20*(ZBCL4/REF(ZBCL4,1)-1),2,1);ZBCL6:=EMA(ZBCL5,2);ZBCL7:=0.24;ZBCL8:=C>=REF(C,1);XX:= IF(ZBCL5>ZBCL7 AND ZBCL6>=0.005 AND ZBCL8,1,0);XXX:=crOSS(XX,0.5) AND COUNT(XX>0.5,10)=1;QB:="kdj.J"-REF("kdJ.J",1)>30 AND C/REF(C,1)>1.043 AND "macd.MACD">0 AND "MACD.DEA">0;LS:=C/REF(C,1)>1.048 AND C=H AND BETWEEN(FORCAST(V,4),0.2*FORCAST(V,12),2.1*FORCAST(V,12));LQ:=FILTER(LS,28)*100 AND L>REF(C,1)*0.93;XG:=QB OR LQ AND XXX;M11:=9;M12:=10;B1:=C/REF(C,1)>1+0.01*M11;B2:=EXIST(C/REF(C,1)>1+0.01*M11,M12);B3:=C/REF(C,1)>1+0.01*M11;MM:=IF(B1+B2+B3=3,1,0);CC:=(H-C)/(C-O)<0.33;DD:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND (O-L)/(C-O)>=1.48 AND L<REF(L,1) AND L<REF(L,2);EE:=(C/REF(C,1)-1)>=0.08;AA:=V>REF(V,1)*1.9 AND C>REF(C,1) AND C/REF(C,1)-1>=0.049 AND CC;BB:=(C/REF(C,1)-1)>=0.0502 AND C>REF(C,1) AND V>REF(V,1) AND V>REF(V,1)*2.5 AND CC;CCB:=EMA(2.055*EMA(EMA(H,34),34)-EMA(EMA(L,34),34),5),COLORCYAN,LINETHICK2;YDXG:=IF(FILTER(AA OR BB OR DD OR EE AND CCB>C,34),1,0) AND MM;LYQD:=XG OR YDXG;P:=CROSS(LYQD,1),LYQD-LYQD*0.14 AND ZBCLN;QUI:=H=C;A:=(C-REF(C,1))/REF(C,1)*100>=0.93 AND QUI;T:=BARSLAST(P),NODRAW;XG1:T AND A AND T<=1,NODRAW;STICKLINE(XG1,0,3,3,0),COLORMAGENTA;DRAWICON(XG1,2.6,9);DRAWTEXT(XG1,2,'★★定妖股★★'),COLORWHITE;

关键词: