热点:=金叉 AND
STICKLINE(热点,H,L,0,0),COLOR0000FF;
STICKLINE(热点,C,O,3,0),COLOR000099;
STICKLINE(热点,C,O,2,0),COLORYELLOW;
STICKLINE(热点,C,O,1,0),COLORYELLOW;
STICKLINE(热点,C,O,0.3,0),COLOR0000FF;
DRAWTEXT(热点,L*0.99,'←热点'),COLORYELLOW;
DRAWICON(热点,L*0.999,9);
ZF:=(C/REF(C,1)-1)*100;DRAWTEXT_FIX(1,0.75,0.92,0,'量化炒股机器人:股典钟量化炒股机器人抓牛 '),COLORYELLOW;
高开:=(O/REF(C,1)-1)*100;
ABC1:=DYNAINFO(15)/O/100;
主升市场1:=ABC1/REF(V,1)*100;
ABC2:=(EMA(O,20)-REF(EMA(O,20),1))/REF(EMA(O,20),1)*100;
ABC3:=REF(L,BARSLAST(CROSS(ABC2,0)));
主升值:=(O-ABC3)/ABC3*100;
ABC4:=CODELIKE('60') OR CODELIKE('00');
ABC5:=(C/REF(C,1)-1)*100>9.8 AND H=C;
ABC6:=EVERY(ABC5,4)<3;
主升:=主升值<=20 AND REF(ZF>9.80,1) AND 高开>=2 AND 高开<=7.5 AND ABC4 AND ABC6;
STICKLINE(主升,H,L,0,0),COLORFF00FF;
STICKLINE(主升,C,O,3,0),COLOR990099;
STICKLINE(主升,C,O,2,0),COLORRED;
STICKLINE(主升,C,O,1,0),COLORRED;
STICKLINE(主升,C,O,0.3,0),COLORRED;
DRAWTEXT(主升,L*0.99,'←主升'),COLORRED;
DRAWICON(主升,L*0.999,28);
成交量:=V,COLORYELLOW,NODRAW;
主力抢筹:ABC1/REF(V,1)*100,COLORRED,NODRAW;