STICKLINE((EMA(CLOSE,13) >= EMA(CLOSE,34)),LOW,HIGH,6,0)COLORRED;
STICKLINE((EMA(CLOSE,13) >= EMA(CLOSE,34)),OPEN,CLOSE,6,0)COLORRED; STICKLINE((EMA(CLOSE,13) < EMA(CLOSE,34)),LOW,HIGH,6,0)COLORGREEN; STICKLINE((EMA(CLOSE,13) < EMA(CLOSE,34)),OPEN,CLOSE,6,0)COLORGREEN; LL1:=EMA(CLOSE,N); HH1:=EMA(CLOSE,N1); T:=IF(HH1>LL1,1,-1); G:=IF(HH1>LL1,HH1,LL1); {DRAWLINE(T=1&&REF(T,1)=1,G,T=1&&REF(T,1)=1,REF(G,1),COLORGREEN); DRAWLINE(T=-1&&REF(T,1)=-1,G,T=-1&&REF(T,1)=-1,REF(G,1),COLORRED); DRAWSL(T=1,G,0,1,0,COLORGREEN); DRAWSL(T=-1,G,0,1,0,COLORRED);} DRAWTEXT(CROSS(EMA(CLOSE,34),EMA(CLOSE,13)),HIGH+5,'S')COLORGREEN; DRAWTEXT(CROSS(EMA(CLOSE,13),EMA(CLOSE,34)),LOW-5,'B')COLORRED; DRAWNUMBER(CROSS(EMA(CLOSE,34),EMA(CLOSE,13)),LOW-5,CLOSE,0),COLORGREEN; DRAWNUMBER(CROSS(EMA(CLOSE,13),EMA(CLOSE,34)),HIGH+5,CLOSE,0),COLORRED; N=3;N1=4;
|
|