同花顺自用副图 源码

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;
 
 

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式