MT4调用自定义Custom Moving Averages指标时,如何在图表里自动显示指标

 

大家好!

      MT4 EA调用自定义指标时,如何在图表自动显示该指标,MT4函数里并不存在ChartIndicatorAdd函数

       double val_ma=iCustom(Symbol(),Period(),"Custom Moving Averages",16,0,MODE_LWMA,0,0);

       期待高手解答

Documentation on MQL5: Chart Operations / ChartIndicatorAdd
Documentation on MQL5: Chart Operations / ChartIndicatorAdd
  • www.mql5.com
ChartIndicatorAdd - Chart Operations - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
原因: