设为首页加入收藏

微信关注
官方微信号:71712643
加关注获取每日精选资讯
股票入门欢迎您加入
广告服务联系我们网站地图

博易指标公式(彩色柱体)

2009-11-1 12:28:54 股票入门 http://rumen.southmoney.com

彩色柱体

VAR1:=MA(CLOSE,4);
VAR2:=MA(CLOSE,10);
VAR3:=MA(CLOSE,16);
VAR4:=MA(CLOSE,22);
VARA:=MA(CLOSE,28);
VAR5:=(VAR1+VAR2+VAR3+VAR4+VARA)/5;
VAR6:=(VAR5-REF(VAR5,6))/REF(VAR5,6)*2500;
VAR7:=(VAR5-REF(VAR5,6))/REF(VAR5,6)*2500;
VAR8:=EMA(VAR6,3);
STICKLINE(VAR6>REF(VAR6,1) AND VAR6<0 AND VAR6<VAR8,VAR6,0,3,0),COLORWHITE;
STICKLINE(VAR8>REF(VAR8,1) AND VAR6<0 AND VAR6>VAR8,VAR8,0,3,0),COLORYELLOW;
STICKLINE(VAR6>REF(VAR6,1) AND VAR6>0 AND VAR8<0,VAR6,VAR8,3,0),COLORMAGENTA;
STICKLINE(VAR8>REF(VAR8,1) AND VAR8>0,VAR6,0,3,0),COLORRED;
STICKLINE(VAR6<REF(VAR6,1) AND VAR8>REF(VAR8,1) AND VAR6>0,VAR6,VAR8,3,0),COLORWHITE;
STICKLINE(VAR6<REF(VAR6,1) AND VAR6<VAR8,VAR6,VAR8,3,1),COLORCYAN;

效果如下:

 

股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。