{用于早上9:25—9:30选股}
涨幅:=DYNAINFO(14)>=0.02 AND DYNAINFO(14)<=0.05;
量比1:=DYNAINFO(17)>=3 AND DYNAINFO(17)<=6;
量比2:=DYNAINFO(17)>=3;
流通盘1:=FINANCE(7)<=500000000;
流通盘2:=FINANCE(7)<=1000000000;
总量:=DYNAINFO(8)>=8000;
今开:=O=DYNAINFO(4);
早盘金寻龙:=涨幅=1 AND 量比1=1 AND 流通盘1=1 AND 总量=1 AND 今开=1;{流通盘<5亿}
早盘银寻龙:=涨幅=1 AND 量比1=1 AND 流通盘2=1 AND 总量=1 AND 今开=1;{流通盘<10亿}
早盘铜寻龙:=涨幅=1 AND 量比2=1 AND 流通盘1=1 AND 总量=1 AND 今开=1;{流通盘<5亿,量比>3}
金寻龙:早盘金寻龙*8,COLORRED;
银寻龙:早盘银寻龙*8,COLORWHITE;
铜寻龙:早盘铜寻龙*8,COLORYELLOW;
早盘寻龙:=金寻龙=8 OR 银寻龙=8 OR 铜寻龙=8;
寻龙:早盘寻龙*8;
STICKLINE(铜寻龙=8,0,40,2,0),COLORBLUE;
STICKLINE(银寻龙=8,0,60,2,0),COLORWHITE;
STICKLINE(金寻龙=8,0,80,2,0),COLORRED;
DRAWTEXT_FIX(1,0.5,0,1,DYBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.5,0,0,HYBLOCK),COLORGREEN;
DRAWTEXT_FIX(1,0.5,0.5,1,GNBLOCK),COLORYELLOW;
DRAWTEXT_FIX(1,0.5,0.5,0,FGBLOCK),COLORGREEN;
A7:=C-REF(C,1);
A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(Abs(A7),6),6);
SHORT:=7; LONG:=19;
RMA:=EMA(CLOSE,SHORT);
NMA:=EMA(CLOSE,LONG);
UP:=DRAWLINE(L=LLV(L,BArslAST(crOSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),0);
DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(RMA,NMA))+1),HHV(H,BARSLAST(CROSS(RMA,NMA))+1),L=LLV(L,BARSLAST(CROSS(NMA,RMA))+1),LLV(L,BARSLAST(CROSS(NMA,RMA))+1),0);
最牛:(LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2))) AND REF(DOWN,1)REF(DOWN,1),NODRAW;
STICKLINE(最牛=1,0,80,2,0),COLORFF00FF;