S:=CROSS(CLOSE,EMA(HIGH,102)); X:=CROSS(EMA(LOW,102),CLOSE);
//www.fxjgsw.com
WS:=BARSLAST(S)+1;
WX:=BARSLAST(X)+1;
SS:=CROSS(SUM(S,WX),0.5);
XX:=CROSS(SUM(X,WS),0.5);
STICKLINE(CLOSE>EMA(HIGH,102),EMA(HIGH,102),EMA(LOW,102),3,0),colorred;
STICKLINE(CLOSE<EMA(LOW,102),EMA(LOW,102),EMA(HIGH,102),3,0),colorgreen;
PARTLINE(EMA(HIGH,102),CLOSE>EMA(HIGH,102),colorred,CLOSE<EMA(HIGH,102),colorgreen);
PARTLINE(EMA(LOW,102),CLOSE>EMA(LOW,102),colorred,CLOSE<EMA(LOW,102),colorgreen);
|
