通达信背离王源码副图

2017-04-08 20:58:00来源:本站整理浏览:318

背离王源码副图

VAR1:=FORCAST(EMA(CLOSE,5),6);
 VAR2:=FORCAST(EMA(CLOSE,8),6);
 VAR3:=FORCAST(EMA(CLOSE,11),6);
 VAR4:=FORCAST(EMA(CLOSE,14),6);
 VAR5:=FORCAST(EMA(CLOSE,17),6);
 VAR6:=VAR1+VAR2+VAR3+VAR4-4*VAR5;
 VAR7:=EMA(VAR6,2);
 FORCAST(EMA(VAR6,3),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,4),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,5),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,6),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,7),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,8),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,9),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,10),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,11),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,12),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,13),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,14),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,15),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,16),6),POINTDOT,COLORGREEN;
 FORCAST(EMA(VAR6,17),6),POINTDOT,COLORGREEN;
 STICKLINE(VAR7>=REF(VAR7,1),VAR7,REF(VAR7,1),4,0),COLORRED;
 STICKLINE(VAR7<REF(VAR7,1),VAR7,REF(VAR7,1),4,0),COLORGREEN;
 STICKLINE(VAR7>=REF(VAR7,1),VAR7,REF(VAR7,1),3,0),COLORRED;
 STICKLINE(VAR7>=REF(VAR7,1),VAR7,REF(VAR7,1),2,0),COLORRED;
 STICKLINE(VAR7>=REF(VAR7,1),VAR7,REF(VAR7,1),1,0),COLORRED;
 STICKLINE(VAR7<REF(VAR7,1),VAR7,REF(VAR7,1),4,0),COLORGREEN;
 STICKLINE(VAR7<REF(VAR7,1),VAR7,REF(VAR7,1),3,0),COLORGREEN;
 STICKLINE(VAR7<REF(VAR7,1),VAR7,REF(VAR7,1),2,0),COLORGREEN;
 STICKLINE(VAR7<REF(VAR7,1),VAR7,REF(VAR7,1),1,0),COLORGREEN;


通达信背离王源码副图

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式