rcc:=DYNAINFO(3);
s2:=sma(c,3,1);
s6:=sma(c,5,1);
dk:=5*(s2-s6);
kk:=IF(DATATYPE=8,0.95,1);
STICKLINE(dk>0,rcc*kk,rcc*kk+dk,0,1),COLORRED;
STICKLINE(dk<0,rcc*kk,rcc*kk+dk,0,1),COLORCYAN;
STICKLINE(TROUGHBARS(3,10,1)=1,rcc*kk,rcc*kk+dk,3,0),COLORMAGENTA;
STICKLINE(PEAKBARS (3,10,1)=1,rcc*kk,rcc*kk+dk,3,0),COLORBLUE; |