DRAWGBK(C>0,RGB(0,0,110),RGB(0,25,0),0,' ',0);
G1:=8;
涨幅:=(C-REF(C,1))/REF(C,1)*100;
牛气冲天:=0;
牛:IF(CLOSE>MA(CLOSE,5),牛气冲天+1,牛气冲天),COLORWHITE;
气:IF(CLOSE>MA(CLOSE,10),牛+1,牛),COLOR999999;
冲:IF(CLOSE>MA(CLOSE,20),气+1,气),COLOR00FFFF;
天:IF(CLOSE>MA(CLOSE,60),冲+1,冲),COLORFF00FF;
好:IF(MA(CLOSE,5)>MA(CLOSE,10),天+1,天),COLORFFAA00;
股:IF(MA(CLOSE,10)>MA(CLOSE,20),好+1,好),COLOR006AFF;
VAR1:IF(MA(CLOSE,20)>MA(CLOSE,60),股+1,股),COLOR0000FF;
VAR5:牛+气+冲+天+好+股+VAR1,NODRAW,COLORFF00FF;
牛气:=(REF(VAR5,1)<=2 AND VAR5>=G1) AND 涨幅>5;
STICKLINE(牛气,0,6.8,1,0),COLOR00BAFF;
DRAWTEXT(牛气,6,'牛气冲天'),COLORRED;