【通达信源码分享】精品指标公式-动力MACD一版源码
2022-12-13未知 编 辑:掌上指标
公式源码:
{动力MACD一版}
XY_做多动力:(((CLOSE - LLV(CLOSE,250)) / LLV(CLOSE,250)) * 100),COLORRED,LINETHICK2;
XY_做空动力:(((HHV(CLOSE,250) - CLOSE) / CLOSE) * 100),COLORGREEN,LINETHICK2;
DIFF : (EMA(XY_做多动力,12) - EMA(XY_做多动力,26))*5,COLORFFFFFF;
DEA : EMA(DIFF,9),COLOR00FFFF;
MACD : 2*(DIFF-DEA), COLORSTICK,LINETHICK2;