QZS:=(Ema(CLOSE,10)+EMA(CLOSE,32))/2;
VAR1:=(EMA(CLOSE,30)+EMA(CLOSE,72))/2;
VAR2:=(EMA(vol,10)+EMA(VOL,32))/2;
VAR3:=(VAR1+VAR2)/2;
VAR4:=EMA(VAR3,30);
VAR5:=EMA(VAR3,60);
VAR6:=EVERY(VAR1>REF(VAR1,1),5) AND EVERY(VAR4>REF(VAR4,1),5);
{www.gupang.com 股旁網(wǎng)_通達信指標公式}
DRAWBAND(VAR1,RGB(150,30,30),EMA(VAR1,60),RGB(0,110,30));
牽引線:VAR1,COLORYELLOW;
趨勢關注:IF(crOSS(VAR1,EMA(VAR1,60)) AND VAR6,1,0),NODRAW,COLORRED;
量價關注:IF(CROSS(VAR3,VAR5) AND VAR6,1,0),NODRAW,COLORWHITE;
沖擊量:IF(VAR3>VAR5 AND VAR6,1,0),NODRAW,COLORYELLOW;
stICKLINE(QZS>VAR1,QZS,VAR1,1,0),COLORFF00FF;
STICKLINE(沖擊量=1,QZS,VAR1,1,0),COLORYELLOW;
DRAWICON(趨勢關注=1,EMA(VAR1,60),13);
DRAWTEXT(量價關注=1,EMA(VAR1,60),'L0V'),COLORWHITE;
|