设为首页加入收藏

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

同花顺公式源码 同花顺新金MACD公式源码

2015-1-14 13:31:14 股票入门 http://rumen.southmoney.com

  南方财富网带来同花顺公式源码 同花顺新金MACD公式源码:

  DIFF : EMA(CLOSE,12) - EMA(CLOSE,26);

  DEA : EMA(DIFF,9);

  MACD : 2*(DIFF-DEA), COLORSTICK;

  D1:=EMA(C,3)-EMA(C,8);

  D2:=EMA(O,3)-EMA(O,8);

  D3:=EMA(H,3)-EMA(H,8);

  D4:=EMA(L,3)-EMA(L,8);

  DRAWICON(CROSS(D1,DIFF) AND DIFF《-0.05 ,D4-0.1,1);

  DRAWICON(CROSS(DIFF,D1) AND DIFF》0.1 ,D3+0.1,2);

  STICKLINE(D1》=D2,D1,D2,8,0),COLOR0055AA;

  STICKLINE(D1《=D2,D1,D2,8,0),COLOR006600;

  STICKLINE(D1》=D2,D1,D2,5,0),COLOR0077CC;

  STICKLINE(D1》=D2,D1,D2,3,0),COLOR0099DD;

  STICKLINE(D1》=D2,D3,D4,0,0),COLOR00BBFF;

  STICKLINE(D1《=D2,D1,D2,5,0),COLOR009900;

  STICKLINE(D1《=D2,D1,D2,3,0),COLOR00BB00;

  STICKLINE(D1《=D2,D3,D4,0,0),COLOR00EE00;

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