通达信MACD新副图指标
2016-06-16 09:07:00来源:本站整理浏览:150
通达信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 ,D4-0.1,10);
A:=(D1+D2)/2;
股价轨迹:A,COLORGREEN,LINETHICK2;
DRAWTEXT(ISLASTBAR AND C>0,A,'●'),COLORMAGENTA;
目前位置:A,POINTDOT,COLORMAGENTA;
IF(ISLASTBAR AND C>0,A,A),COLORMAGENTA,POINTDOT,LINETHICK4;
- 上一篇公式:通达信一品烧香拜佛主图源码
- 下一篇公式:通达信追涨源码预警贴图