MACD角度指标 (源码)
2012-03-27 08:20:00来源:本站整理浏览:443
通达信MACD角度指标公式股票软件源码如下:
DIFF:=EMA(C,36)-EMA(C,78);
DEA:=MA(DIFF,6);
MACD:50*(DIFF-DEA),COLORSTICK;
D角:IF(DIFF>0 AND REF(DIFF,1)>0,ATAN(((DIFF)/REF((DIFF),1)-1)*100)*180/3.1416,IF(DIFF<0 AND REF(DIFF,1)<0,ATAN((1-(0-DIFF)/REF((0-DIFF),1))*100)*180/3.1416,0))LINETHICK1;
MD角:SUM(D角,12)/12;
0;
- 上一篇公式:飞翔抓牛股选股指标 (源码)
- 下一篇公式:分时财富主图指标 (源码)