MACD改进指标 (源码)
2012-08-28 09:10:00来源:本站整理浏览:228
通达信MACD改进指标公式股票软件源码如下:
DIF1:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA1:=EMA(DIF1,9);
{柱状线}
AAA1:=(DIF1-DEA1)*2*60;
AAA上:IF(AAA1>REF(AAA1,1),AAA1,DRAWNULL),
STICK,COLORRED,LINETHICK1;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
AAA下:IF(AAA1<REF(AAA1,1),AAA1,DRAWNULL),STICK,COLORYELLOW,LINETHICK1;
买入线:15;
房子:AAA1-REF(AAA1,1),COLORRED;
DRAWICON(CROSS(房子,买入线),买入线,1);
- 上一篇公式:跟风资金进出指标 (源码)
- 下一篇公式:顶底走势指标 (源码)