DRAWGBK(CLOSE>0,RGB(0,0,50),RGB(00,0,0),0,0,1);
VAR1:=STRCAT(HYBLOCK,' ');
VAR2:=STRCAT(VAR1,DYBLOCK);
VAR3:=STRCAT(VAR2,' ');
VAR4:=CLOSE*VOL;
VAR5:=EMA((EXPMA(VAR4,3)/EXPMA(V,3)+EXPMA(VAR4,6)/EXPMA(V,6)+EXPMA(VAR4,12)/EXPMA(V,12)+EXPMA(VAR4,24)/EXPMA(V,24))/4,13);
VAR6:=1.06*VAR5;
VAR7:=VAR5*0.94;
VAR8:=CLOSE>VAR6 AND OPEN>VAR6;
VAR9:=REF(CLOSE,1);
VAR18:=SMA(MAX(CLOSE-VAR9,0),2,1)/SMA(ABS(CLOSE-VAR9),2,1)*100;
VAR28:=VAR18<10 AND VAR6>=REF(VAR6,1);
DRAWTEXT_FIX(ISLASTBAR,0,0,0,STRCAT(VAR3,GNBLOCK)),COLORRED;
DRAWTEXT_FIX(ISLASTBAR,0.001,0.050,0,GNBLOCK),COLORCYAN;
DRAWTEXT_FIX(ISLASTBAR,0.002,0.1,0,ZDBLOCK);
IF((VAR6<=REF(VAR6,1)),VAR6,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
IF((VAR6>=REF(VAR6,1)),VAR6,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;
IF((VAR7<=REF(VAR7,1)),VAR7,DRAWNULL),COLORGREEN,DOTLINE,LINETHICK2;
IF((VAR7>=REF(VAR7,1)),VAR7,DRAWNULL),COLORMAGENTA,DOTLINE,LINETHICK2;
DRAWTEXT_FIX(C>O,0,0.07,0,'股票指标网http://'),COLOR222222;
DRAWKLINE(HIGH,OPEN,LOW,CLOSE);
STICKLINE(VAR8 AND C>O,C,O,3.2,0),COLOR000066;
STICKLINE(VAR8 AND C>O,C,O,2.0,0),COLOR000077;
STICKLINE(VAR8 AND C>O,C,O,1.5,0),COLOR000099;
STICKLINE(VAR8 AND C>O,C,O,0.9,0),COLOR0000CC;
STICKLINE(VAR8 AND C>O,C,O,0.5,0),COLOR0000FF;
STICKLINE(VAR8 AND C>O,O,C,0,0),COLORFFFFFF;
STICKLINE(VAR8 AND C<O,L,H,0,0),COLOR009900;
STICKLINE(VAR8 AND C<O,C,O,3.2,0),COLOR009900;
STICKLINE(VAR8 AND C<O,C,O,2.5,0),COLOR00BB00;
STICKLINE(VAR8 AND C<O,C,O,1.5,0),COLOR00DD00;
STICKLINE(VAR8 AND C<O,C,O,0.5,0),COLOR00FF00;
STICKLINE(VAR8 AND C<O,C,O,0,0),COLORFFFFFF;
DRAWTEXT(VAR28,LOW,'有牛'),COLORYELLOW;