JD1:=ATAN((EMA(C,N1)/REF(EMA(C,N1),1)-1)*100)*180/3.1816;
JD2:=ATAN((EMA(C,N2)/REF(EMA(C,N2),1)-1)*100)*180/3.1816;
JD3:ATAN((EMA(C,N3)/REF(EMA(C,N3),1)-1)*100)*180/3.1816,SETSTYLECOLOR(LINETHICK2,RGB(192,192,192));
JD4:=ATAN((EMA(C,N4)/REF(EMA(C,N4),1)-1)*100)*180/3.1816;
STICK(JD1>=0,0,JD1,3,COLORRED,1);
STICK(JD1<=0,0,JD1,3,COLORGREEN,1);
STICK(JD2>=0,0,JD2,0.5,COLORYELLOW,0);
STICK(JD2<=0,0,JD2,0.5,COLORCYAN,0);
STICK(JD4>=0,-3.5,-4,2,COLORRED,1);
STICK(JD4<=0,-3.5,-4,2,COLORBLUE,1);
|