同花顺自用副图 源码
2011-02-15 16:57:00来源:本站整理浏览:87
源码:
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<REF(VAR3,1),VAR3,0,2,1),COLORBLUE;
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;
- 上一篇公式:发KDJ自动画出顶底背离公式(原码 有图)
- 下一篇公式:飘零买点(同花顺副图公式 源码)