Welcome to servicedesk with details and explanations
Welcome to servicedesk with details and explanations
- 2009.11.23
- Андрей
- www.mql5.com
I am having the same problem and I can't use backtest if I don't get data from the indicator because EA depend totally of that information to take decision like buy or sell.
I did everything and I am giving up to use my EA in backtest unfortunately, because when I do some changes I need to stay waiting open market to make the test in demo environment and if I had backtest working well, wouldn't be necessary.
please, what I am doing wrong?
I don't believe that isn't possible get the information in backtest.
my name is Carlito and I would appreciate much if someone give me a light.
thanks
I did everything and I am giving up to use my EA in backtest unfortunately, because when I do some changes I need to stay waiting open market to make the test in demo environment and if I had backtest working well, wouldn't be necessary. please, what I am doing wrong? I don't believe that isn't possible get the information in backtest.
Your code is flawed and needs to be fixed! We can't possible guess what you are doing wrong without looking at your code.
As you can read from the original poster, his problem was that he was initialising the handle on every tick instead of only once. So begin by checking if that is your case.
If however, that is not your case, then you will have to at least show some of your code, if you want assistance!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
When I try to backtest an EA that uses iCustom() and CopyBuffer() in the Strategy Tester I have the following problem: the iCustom() functions works perfectly and returns a valid handle, but the CopyBuffer() function then fails to copy anything from the handle to a buffer (returns -1). When I run the same EA with the same settings on demo account, it works perfectly. What can be the reason for this behavior? Am I missing something?