V0:=MA(VOL,5);
V1:=MA(VOL,10);
V2:=MA(VOL,30);
V3:=MA(VOL,60);
V4:=MA(VOL,90);
YW1:V1*0.382+0.618*V2,LINETHICK2,COLORRED;
YW2:V3*0.382+0.618*V4,LINETHICK2,COLOR33FF00;
YW3:VOL*0.382+0.618*V0,LINETHICK2,COLORFFFF00;
DIFF:=EMA(YW3,12) - EMA(YW1,26);
DEA:EMA(DIFF,9),COLORFF00FF;
DRAWICON(CROSS(DEA,YW2),DEA,12);
DRAWICON(CROSS(YW1,YW2) ,DEA,13); |