M1:=5; M2:=10;
M3:=20;
M4:=60;
MA1:MA(CLOSE,M1);
MA2:MA(CLOSE,M2);
MA3:MA(CLOSE,M3);
MA4:MA(CLOSE,M4);
BM:=EMA(C,2);
SM:=EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(BM,SM);
SEL:=CROSS(SM,BM);
DRAWICON(BU,L-0.03,1);
DRAWICON(SEL,H+0.03,2);
CPX:=MA(CLOSE,9),colorcyan;
JDX:=MA(CLOSE,20),colormagenta;
STICKLINE(BM>=SM,LOW,HIGH,0,1),colorred;
STICKLINE(BM>=SM,CLOSE,OPEN,2,1),colorred;
STICKLINE(BM<SM,LOW,HIGH,0,1),COLORFFFF00;
STICKLINE(BM<SM,CLOSE,OPEN,2,1),COLORFFFF00;
|
