去停牌:=DYNAINFO(8)>0;
去ST:=NOT(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S'));
XX:=去停牌 AND 去ST ;
LTP:=FINANCE(7)<1500000000;
YZB:=NOT(C/REF(C,1)>1.0975 AND H=O)AND BARSCOUNT(C)>30;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100,LINETHICK1,COLORFFFFFF;
RSI2:=SMA(MAX(CLOSE-LC,0),12,1)/SMA(ABS(CLOSE-LC),12,1)*100,LINETHICK1,COLORYELLOW;
RSI3:=SMA(MAX(CLOSE-LC,0),24,1)/SMA(ABS(CLOSE-LC),24,1)*100,LINETHICK1,COLORMAGENTA;
WR:=-100*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
WR反向:=(0-WR)-100,COLORRED;
A2:=-5,COLOR0099FF;
A3:=20,COLOR0099FF;
A4:=80,COLORLIGREEN;
TJ:= CROSS(RSI1,20);
RSI买入:=STICKLINE(CROSS(RSI1,8),-20,50,0,1),COLORMAGENTA;
TJ2:=WR反向<A2 AND REF(WR反向,1)>A2;
TJ3:=TJ AND TJ2;
RW买入:=STICKLINE(TJ3,-20,50,0,1),COLORYELLOW;
MR:=RW买入 OR RSI买入;
MD:=MACD.macd>REF(MACD.MACD,1);
MR AND XX AND YZB;