Forum

Error 4806 Requested data not found when CopyBuffer

Hi Traders/Devs, I am trying to create quite a complex indicator that pulls data from the 28 major pairs and I keep getting error 4806 when I try to copy the handle data to the buffer, can you see what is wrong? Pairs is an array with lists of pairs, in this case I tried to get the RSI value for all

Alternative To OnTimer() For MT5 Custom Indicator

I am converting a custom indicator from MT4 to MT5 and it uses the OnTimer() function other than the OnCalculate. I found some documentation that in MQL5 OnTimer() is limited to EAs and doesn't work with custom indicators. https://www.mql5.com/en/docs/event_handlers/ontimer Does anyone have an