![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi!
I'm trying to code an EA but this "CopyBuffer" function error won't let me continue and I don't know how to solve it.
CopyBuffer return error 4806 (ERR_INDICATOR_DATA_NOT_FOUND)
I am thinking that the iMA () function may be faulty because CopyBuffer () works fine with iBands() and iADX() ... Could it be?
I am very confused !!
Does anyone know how to solve this problem?
Or an alternative way to get the indicator data without using the CopyBuffer function or iMA function?
This is my code...
//------------
**DELETED**
//-----------
Thank you so much!!
The problem was resolved!!...
The problem was the metatrader 5 that my Broker offers ... (it must have had corrupted libraries).
I downloaded Metatrader 5 from the official Metaquotes website and now everything works fine.