{动力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;