{牛股}
五:=MA(CLOSE,5);
十:=MA(CLOSE,10);
工作线:=EMA(EMA(CLOSE,8),13);
生命线:=EXPMA(EXPMA(CLOSE,55),1);
半:=MA(CLOSE,125);
年:=MA(CLOSE,240);
涨幅%:=(C-REF(C,1))/REF(C,1)*100;
开盘封涨停:=O/REF(C,1)<1.098;
去除停牌:=DYNAINFO(17)!=0;
去除ST股:=EXIST((C-REF(C,1))/REF(C,1)*100>5.6,100);
去除星股:=IF(NAMELIKE('*'),0,1);
量:=V/CONST(HHV(V,90))*100;
节点:=五<REF(五,1) AND 五<REFX(五,1);
天数:=BARSLAST(节点);
五日均线18天:=节点 AND REF(天数,1)<18 AND 五>REF(REF(五,天数),1);
丁丁主力线:=EMA(C,3),COLORWHITE;
丁丁跟随主力线:=EMA(C,5),COLORYELLOW;
丁丁辅助主力线:=EMA(C,7),COLORBROWN;
丁短线回踩支撑:=EMA(C,10),COLORLIGREEN;
丁丁启动线:=EMA(C,20),COLORRED,LINETHICK2;
SS:=CROSS(丁丁主力线,丁丁跟随主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁丁辅助主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁主力线,丁丁辅助主力线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁主力线,丁短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁丁启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁辅助主力线,丁短线回踩支撑) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018
OR CROSS(丁丁跟随主力线,丁丁启动线) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(丁丁主力线,丁丁启动线);
大牛股:=SS AND C>工作线 AND 五>生命线 AND 工作线>生命线 AND COUNT(五日均线18天,10)=1 AND
涨幅%>6 AND 量<59 AND 去除ST股 AND 去除星股 AND 开盘封涨停 AND 去除停牌;
STICKLINE(大牛股,85,105,1.2,0),COLORMAGENTA,LINETHICK1;
DRAWTEXT(大牛股,105,'牛'),COLOR00FFFF,LINETHICK1;
DRAWTEXT(大牛股,85,'股'),COLOR00FFFF,LINETHICK1;