改编MACD指标 (源码)
2011-08-09 08:57:00来源:本站整理浏览:163
DIFF1 : EMA(CLOSE,3) - EMA(CLOSE,8),COLORYELLOW,LINETHICK2;
DEA1 : EMA(DIFF1,8),COLORCYAN,LINETHICK2;
MACD := 2*(DIFF1-DEA1), COLORSTICK;
{www.gpxiazai.com 股票软件下载网_最新股票指标公式}
MACDX:=MACD-REF(MACD,1), COLORSTICK;
STICKLINE(MACDX>0 AND MACD<0,0,MACD,2,0),COLOR888000;
STICKLINE(MACDX<0 AND MACD>0,0,MACD,2,0),COLORFF80FF;
STICKLINE(MACDX>0 AND MACD>0,0,MACD,3,0),COLOR0000FF;
STICKLINE(MACDX<0 AND MACD<0,0,MACD,3,0),COLOR00FF00;
STICKLINE(MACDX=0,0,MACD,2,0),COLOR00FFFF;
- 上一篇公式:吸拉派发指标 (源码)
- 下一篇公式:彩色成交量指标 (源码)