Read the documentation.
In each place you have four (4) arguments in your code.
All three variants of the CopyBuffer expect five (5) arguments.
![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
I'm doing a simple EMA crossover indicator. There is only one error in the project, that is on line 79,80,81
'CopyBuffer' - no one of the overloads can be applied to the function call. Screenshot attached