VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
CC:=SMA(VAR5,20,1),;
CC1:=SMA(CC,5,1),;
AS:=LLV(DMA(CLOSE,VOL/CAPITAL),120);
龙抬头:=200*(CLOSE-AS)/AS,;
龙势:=ATAN((龙抬头/REF(龙抬头,1)-1)*100)*180/3.1416;
去除ST:=EXIST((C/REF(C,1)-1)*100>5.6,60);
去除停牌:=DYNAINFO(4)>0; {通达信:今开大于零}
去除高价:=DYNAINFO(7)<40; {最新价小于40元}
去除大盘股:=CAPITAL/1000000<10; {流通盘为10亿以下}
龙头:=CROSS(龙抬头,40) OR CROSS(龙抬头,20);
龙头 AND 龙势>60 AND 去除ST AND 去除停牌 AND 去除高价 AND 去除大盘股 AND CC>CC1;