5. The indicator is reading the order list from the terminal window, NOT the strategy tester. This is evident if there are trades in the terminal, but no executed trades in the strategy tester window.
Is there a fix or workaround? I am using build 509. Running out of hair …
The clue is in the name: Strategy Tester, it's not Indicator Tester. It is designed to test EAs, some Indicators will work some won't . . . this thread gives some additional info on what works and what doesn't: https://www.mql5.com/en/forum/143310/page2#753353
I asked the Service Desk if there were plans to address this issue in the changes being worked on for MT4, the reply was . . . "No, sorry. MT4 tester will not be improved in such way" you might want to make a similar suggestion, if enough people ask it might be addressed as it has been in MT5.
The clue is in the name: Strategy Tester, it's not Indicator Tester. It is designed to test EAs, some Indicators will work some won't . . . this thread gives some additional info on what works and what doesn't: https://www.mql5.com/en/forum/143310/page2#753353
I asked the Service Desk if there were plans to address this issue in the changes being worked on for MT4, the reply was . . . "No, sorry. MT4 tester will not be improved in such way" you might want to make a similar suggestion, if enough people ask it might be addressed as it has been in MT5.
Hi Guys,
Thanks again for the replies. This is one of those "it should work like this", which I guess is open to opinion. I would have thought that if i drop an indicator on a chart generated by the strategy tester, it would "see" everything as the EA would see. So now it is impossible to have an indicator show representations of the order status. So bizarre I thought it was a bug ...
Best
John
Hi Guys,
Thanks again for the replies. This is one of those "it should work like this", which I guess is open to opinion. I would have thought that if i drop an indicator on a chart generated by the strategy tester, it would "see" everything as the EA would see. So now it is impossible to have an indicator show representations of the order status. So bizarre I thought it was a bug ...
Please contact the Service Desk . . . one more voice might help.
Hi RaptorUK,
I am happy to do that, but exactly how? Sorry to be thick, but can't find a service desk link?
Best,
John
Hi RaptorUK,
I am happy to do that, but exactly how? Sorry to be thick, but can't find a service desk link?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Try this:
1. Create a new EA called “Dummy” using the default EA template. No coding needed if you have the default template. Compile it to produce Dummy.ex4.
2. Run the EA in the strategy tester in (every tick) visual mode with the speed turned down.
3. Compile the attached TestInd and drop TestInd.exe onto the (strategy tester) chart window.
4. The indicator output is written to the terminal window (unexpected, though as per the manual entry for Print()). Of course you need both terminal and tester window open in the "experts" pane.
5. The indicator is reading the order list from the terminal window, NOT the strategy tester. This is evident if there are trades in the terminal, but no executed trades in the strategy tester window.
Is there a fix or workaround? I am using build 509. Running out of hair …