Hi Guys
I'm having a bit of a problem with testing my EAs. I can run tests on the four advisor's that come with MT5, but when I use the wizard to make my own or use a downloaded EA, from MQL5 codebase, the strategy tester wont place any trades.
Has anyone else had this problem. What should I do to fix this?
I have the same problem with craigearl. The strategy tester of MT5 dont place any trades.
Could you please explain more about this problem?thanks alot!
Here's my code:
I have the same problem with craigearl. The strategy tester of MT5 dont place any trades.
Could you please explain more about this problem?thanks alot!
Here's my code:
void OnTester()
Why are you using OnTester() ? You have to use OnTick() instead.
You also have to take care of the compiler warnings.
Please read the documentation.
thanks for answer,
i changed OnTester to OnTick, but there's another error:
2016.03.14 09:33:27.901 2016.03.01 00:01:24 failed market buy 0.11 GBPUSD [Unsupported filling mode]
thanks for answer,
i changed OnTester to OnTick, but there's another error:
2016.03.14 09:33:27.901 2016.03.01 00:01:24 failed market buy 0.11 GBPUSD [Unsupported filling mode]
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Guys
I'm having a bit of a problem with testing my EAs. I can run tests on the four advisor's that come with MT5, but when I use the wizard to make my own or use a downloaded EA, from MQL5 codebase, the strategy tester wont place any trades.
Has anyone else had this problem. What should I do to fix this?