MACD零轴 通达信主图指标 源码 贴图
2019-05-15 09:28:00来源:本站整理浏览:637
MACD零轴 通达信主图指标 源码 贴图
{MACD主图零轴}
M50:MA(C,50),COLORYELLOW,LINETHICK2;
DIF1:=EMA(CLOSE,12)-EMA(CLOSE,26);
DEA1:=EMA(DIF1,9);
DIF:DIF1+EMA(CLOSE,5),COLORWHITE;
DEA:DEA1+EMA(CLOSE,7),COLORYELLOW;
{WWW.GPXIAZAI.COM}
{D50:=M50+MA(DIF1,50),LINETHICK2;}
MACD:(DIF1-DEA1)*2,NODRAW,COLORRED;
STICKLINE(MACD>=0,M50,M50+MACD*3,0,1),COLORLIRED;
STICKLINE(MACD<0,M50,M50+MACD*3,0,1),COLORLIGREEN;
STICKLINE(((MACD<REF(MACD,1)) AND (MACD>0)),M50,M50+MACD*3,0,1),COLORLIRED;
STICKLINE(((MACD>REF(MACD,1)) AND (MACD<0)),M50,M50+MACD*3,0,1),COLORLIGREEN;
- 上一篇公式:四色图 通达信主图指标 源码 贴图
- 下一篇公式:一定要清仓 通达信副图指标 源码 贴图