双龙指标

SG:EMA(H,33);

XG:EMA(L,33);

S:=CROSS(C,EMA(H,33));

X:=CROSS(EMA(L,33),C);

WS:=BARSLAST(S)+1;

WX:=BARSLAST(X)+1;

SS:=CROSS(SUM(S,WX),0.5);

XX:=CROSS(SUM(X,WS),0.5);

PARTLINE(CLOSE>EMA(HIGH,33),EMA(HIGH,33),RGB(255,0,128)),LINETHICK2;

PARTLINE(CLOSE>EMA(LOW,33),EMA(LOW,33),RGB(255,0,128)),LINETHICK2;

PARTLINE(CLOSE<EMA(HIGH,33),EMA(HIGH,33),RGB(0,128,255)),LINETHICK2;

PARTLINE(CLOSE<EMA(LOW,33),EMA(LOW,33),RGB(0,128,255)),LINETHICK2;

(0)

相关推荐