源码:
VAR1:=EMA(CLOSE,12)-EMA(CLOSE,26);
VAR2:=EMA(VAR1,50);
VAR3:=2*(VAR1-VAR2);
STICKLINE(VAR3>0,VAR3,0,2,1),COLORBLUE;
STICKLINE(VAR3>0,VAR3,0,0.5,0),COLORLIRED;
STICKLINE(VAR3>0 AND VAR3
STICKLINE(VAR3<0,VAR3,0,2,1),COLORGREEN;
STICKLINE(VAR3<0,VAR3,0,0.5,0),COLORLIGREEN;
STICKLINE(VAR3<0 AND VAR3>REF(VAR3,1),VAR3,0,2,1),COLORLIRED;
|