以下是通达信自用多年的龙抬头副图+选股源码(无源码的请下载附件导入)
AA:=(VOL>1.5*REF(VOL,1)
AND VOL>REF(MA(VOL,21),1)
AND CLOSE>1.03*OPEN
AND CLOSE=HHV(CLOSE,21)
AND CLOSE<1.25*LLV(CLOSE,21)
AND REF(CLOSE,1)<1.2*REF(LLV(CLOSE,20),1)
AND REF(CLOSE,1)<1.5*REF(LLV(CLOSE,60),1)
AND REF(CLOSE,1)<2*REF(LLV(CLOSE,120),1));
换手:=VOL/CAPITAL*100;
MA21换手:=MA(换手,21);
DYX:=C/REF(C,1)>=1.049;
启动:=AA;
去除ST:=EXIST((C/REF(C,1)-1)*100>5.6,60);
去除停牌:=DYNAINFO(4)>0; {通达信:今开大于零}
去除高价:=DYNAINFO(7)<40; {最新价小于40元}
去除大盘股:=CAPITAL/1000000<10; {流通盘为10亿以下}
AAAA:=去除ST AND 去除停牌 AND 去除高价 AND 去除大盘股;
龙抬头:0<启动 AND DYX AND AAAA;
DRAWBAND(龙抬头,RGB(255,0,0),0,RGB(0,255,0));
2057277129.jpg
|