VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
VAR2:=SMA(VAR1,10,1);
RSV:= ((HHV(HIGH,9)-CLOSE)/(HHV(HIGH,9)-LLV(LOW,9))*100)-70;
RSV1:= (CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
FATK:=SMA(RSV1,3,1);
形态:=SMA(FATK,3,1);
VARA:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VARB:=SMA(VARA,3,1);
VARC:=SMA(VARB,3,1);
加速:= EMA(3*VARB-2*VARC,3);
CC:=CROSS(加速,形态);
DIF:=EMA(CLOSE,12)-EMA(CLOSE,29);
DEA:=EMA(DIF,6);
EE:=CROSS(DIF,DEA);
MA20:=MA(C,20);
MA60:=MA(C,60);
VAR11:=(CLOSE*2+HIGH+LOW)/4;
VAR12:=EMA(VAR11,8)-EMA(VAR11,25);
VAR13:=EMA(VAR12,8);
弃盘线:=(-2)*(VAR12-VAR13)*5.10;
控盘线:=2*(VAR12-VAR13)*5.10;
控盘:=REF(控盘线,1) REF(控盘线,2) AND REF(控盘线,0) REF(控盘线,1) OR CROSS(控盘线,弃盘线);
AA:=O C AND C REF(C,1) AND O/REF(C,1) 1.03;
去除星股:=IF(NAMELIKE('*'),0,1);
去除大盘股:=CAPITAL/1000000
去除ST:=IF(NAMELIKE('ST'),0,1) AND IF(NAMELIKE('*ST'),0,1) AND IF(NAMELIKE('S'),0,1);
去停牌:=NOT(DYNAINFO(4)=0);
DD:=去除星股 AND 去除大盘股 AND 去除ST AND 去停牌;
涨幅:=(C-REF(C,1))/REF(C,1)*100 5 AND (C-REF(C,1))/REF(C,1)*100
五日涨幅:=COUNT(涨幅,5)=5;
XG:AA AND(CC OR EE) AND DD AND L REF(H,1) AND 控盘 AND 五日涨幅 AND H MA60 ;