AA:=EMA(EMA(CLOSE,8)-EMA(CLOSE,13),3); BB:=(AA-REF(AA,1))*10;//fxjgsw.com
CC:=IF(BB>REF(BB,1),BB,REF(BB,1));
STICKLINE(BB>0,0,BB,2,0),colorred;
STICKLINE(BB<0,0,BB,2,0),colorgreen;
STICKLINE(CC=BB AND REF(CC,1)>REF(BB,1) AND BB<0,0,BB,1,0),colormagenta;
STICKLINE(CROSS(BB,0),0,BB,1,0),coloryellow;
DRAWTEXT(CROSS(BB,0),BB*1.3,''),colorgreen;
DRAWTEXT(CROSS(0,BB),BB,''),coloryellow;
DRAWTEXT(CC=BB AND REF(CC,1)>REF(BB,1) AND BB<0,BB*1.3,''),colormagenta;
DRAWTEXT(CC=BB AND REF(CC,1)>REF(BB,1) AND BB>0,BB*1.4,''),colormagenta;
DRAWTEXT(BB<CC AND REF(CC,1)=REF(BB,1) AND BB>0,BB*1.3,''),colorred;
|
