I recently discovered the Include libs in MT4 with such gems as Chart.mqh. I see that it gives MT4 access to the MT5 function, ChartIndicatorAdd(). Yay! So my question is, iCustom() in MT4 seems to work slightly differently than in MT5 and I'm having trouble figuring how to get the handle for a custom indicator to pass to ChartIndicatorAdd() so that my EA can automatically add it to my chart. Ideally I'd like to embed a custom indicator in my EA using the "resource" functionality and have the EA use the indicator settings set by the user after the indicator has been added to the chart. Is this possible, and can anyone point me to an example of this in use or have any general advice? Thank you all very much!
i noticed that this is a post from 2017, do you know if there is any update on MT4 with using the ChartIndicatorAdd() or if there is another option /code that I can use.I would like to add an indicator on my chart when loading the EA.I also tried the template, but having issues with the EA loading properly with the template load.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.