N:=2;
ZT:=C>=ZTPRICE(REF(C,1),0.1);
VARN:=(COUNT(ZT,N)=1 AND ZT);
VAR1:=V/700000000;
VAR2:=1.1*(MAX(H,REF(C,1))/MIN(L,REF(C,1))-1);
VAR3:=2.5*MAX(VAR1,VAR2);
VAR4:=DMA(C,VAR3);
VAR5:=SMA(20*(VAR4/REF(VAR4,1)-1),2,1);
VAR6:=EMA(VAR5,2);
VAR7:=0.24;
VAR8:=C>=REF(C,1);
XX:= IF(VAR5>VAR7 AND VAR6>=0.005 AND VAR8,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 VARN;
QUI:=H=C;
A:=(C-REF(C,1))/REF(C,1)*100>=0.93 AND QUI;
T:=BARSLAST(P);
选股:T AND A AND T<=1;
VAR1:LLV(LOW,34),LINETHICK1,COLORFFFFCC;
VAR2:MA(VAR1,4),LINETHICK1,COLORYELLOW;
VAR3:=(HIGH+LOW+CLOSE)/3;
VAR4:=(VAR3-MA(VAR3,6))/(0.015*AVEDEV(VAR3,5));
VAR5:=Abs(REF(VAR4,1)-VAR4),LINETHICK0;
VAR6:=(VAR3-MA(VAR3,10))/(0.015*AVEDEV(VAR3,10));
VAR7:=ABS(REF(VAR6,1)-VAR6),LINETHICK0;
VAR8:=(VAR3-MA(VAR3,20))/(0.015*AVEDEV(VAR3,20));
VAR9:=ABS(REF(VAR8,1)-VAR8),LINETHICK0;
VAR10:=(VAR3-MA(VAR3,30))/(0.015*AVEDEV(VAR3,30));
VAR11:=ABS(REF(VAR10,1)-VAR10),LINETHICK0;
VAR30:=VAR4< -VAR11;
VAR31:=FILTER(VAR30,0);
VAR32:=IF(BARSLAST(VAR31)=1&&CLOSE>REF(HIGH,1),1,0);
VAR33:=VAR32=1;
VAR34:=IF(BARSLAST(VAR31)=1&&CLOSE>REF(LOW,1),1,0);
VAR35:=VAR34=1;
XG:FILTER(VAR35,5);

