QZS:=(EMA(C,10)+EMA(C,32))/2;
VAR1:=(EMA(C,30)+EMA(C,72))/2;
VAR2:=(EMA(VOL,10)+EMA(VOL,32))/2;
VAR3:=(VAR1+VAR2)/2; VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=IF(VAR1>REF(VAR1,1),5,0) AND IF(VAR4>REF(VAR4,1),5,0);
DRAWBAND(VAR1,RGB(95,8,9),EMA(VAR1,60),RGB(9,95,5));
牵引线:VAR1,COLORWHITE; 趋势关注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6=5,1,0),NODRAW;
量价关注:IF(CROSS(VAR3,VAR5) AND VAR6=5,1,0),NODRAW;
冲击量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW; STICKLINE(QZS>VAR1,QZS,VAR1,0.1,0),COLORF0FF00;
STICKLINE(冲击量=1,QZS,VAR1,0.1,0),COLORF000FF;
DRAWICON(趋势关注=1,EMA(VAR1,60),1);
DRAWTEXT(量价关注=1,EMA(VAR1,60),'量'),COLORWHITE;
[/td][/tr] |