When running an EA using iBands in the Strategy Tester I get error message.
I am testing on EURCHF
"CopyBuffer RSI failed code 4807"
I can see that the Strategy Tester is downloading data. When that is complete the error messages stops
and the EA works as expected.
How do I "hold" the EA until all data is downloaded?
- MQL5 Wizard: Development of trading robots for MetaTrader 5
- MetaTrader 5 Built-in Trading Strategy Tester
- How to become a signal provider and receive monthly fees
ingvar_e:
When running an EA using iBands in the Strategy Tester I get error message. I am testing on EURCHF "CopyBuffer RSI failed code 4807" I can see that the Strategy Tester is downloading data. When that is complete the error messages stops and the EA works as expected. How do I "hold" the EA until all data is downloaded?
When running an EA using iBands in the Strategy Tester I get error message. I am testing on EURCHF "CopyBuffer RSI failed code 4807" I can see that the Strategy Tester is downloading data. When that is complete the error messages stops and the EA works as expected. How do I "hold" the EA until all data is downloaded?
Error 4807 is not related to missing data.
ERR_INDICATOR_WRONG_HANDLE |
4807 |
Wrong indicator handle |
angevoyageur.
Thanks, I know that. Its just that the error messages stopped after data was downloaded.
Ayway. I changed the code so that I placed the iMA = .... in the EA Init section instead of having it "inline". Since it is a multi currency it meant having one iMA per symbol.
Or to be more specific, one iMA, one iBand and one iRSI handle per symbol.
Anyway the problem went away after this change.

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