QZS:=(EMA(NEW,10)+EMA(NEW,32))/2;
VAR1:=(EMA(NEW,30)+EMA(NEW,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);
FILLRGN( VAR1,EMA(VAR1,60), VAR1>EMA(VAR1,60),RGB(150,30,30),EMA(VAR1,60)>VAR1,RGB(0,110,30));
牽引線:VAR1,colorwhite;
趨勢(shì)關(guān)注:IF(CROSS(VAR1,EMA(VAR1,60)) AND VAR6=5,1,0);
量?jī)r(jià)關(guān)注:IF(CROSS(VAR3,VAR5) AND VAR6=5,1,0);
沖擊量:IF(VAR3>VAR5 AND VAR6,1,0);
STICKLINE(QZS>VAR1,QZS,VAR1,1,0),Colorf0ff00;
STICKLINE(沖擊量=1,QZS,VAR1,1,0),colorf000ff;
DRAWICON(趨勢(shì)關(guān)注=1,EMA(VAR1,60),1);
DRAWTEXT(量?jī)r(jià)關(guān)注=1,EMA(VAR1,60),"量"),colorwhite;