Download MetaTrader 5
To add comments, please log in or register
Ask your broker to open the official channel. Thousands of traders will read the news!
Ingvar Engelbrecht
4439
Ingvar Engelbrecht 2014.06.08 15:26 
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?
Alain Verleyen
Moderator
29657
Alain Verleyen 2014.06.08 15:44  
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?

Error 4807 is not related to missing data.

ERR_INDICATOR_WRONG_HANDLE

4807

Wrong indicator handle

Ingvar Engelbrecht
4439
Ingvar Engelbrecht 2014.06.08 16:36  

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.

/
To add comments, please log in or register