- Unable to receive signal from MQL5 signal on 17 Jan 2022
- No received sign
- No commodities or energies in Meta Trader 5 demo
This is just my opinion, but I suspect it to be a reasonable explanation for the issue:
The express aim of the Strategy Tester is to back-test EAs, so it would not make sense for it not to be able to do so if a symbol prevented that.
So, when the trading mode is set to "Disabled", it forcibly treats it as "Full access" to allow the back-testing to be carried out anyway.
The other modes, like "Long only" or "Short only" do work correctly, and I have used them quite often to force "closed source" EAs to only carry out longs or shorts during back-testing.
The "Close only" options also works correctly, resulting in no trading, given that there are no pre-existing open positions to close in a back-test.
By the way, you can change this mode by editing that field in symbol's specifications in the Strategy Tester.
This is just my opinion, but I suspect it to be a reasonable explanation for the issue:
The express aim of the Strategy Tester is to back-test EAs, so it would not make sense for it not to be able to do so if a symbol prevented that.
So, when the trading mode is set to "Disabled", it forcibly treats it as "Full access" to allow the back-testing to be carried out anyway.
The other modes, like "Long only" or "Short only" do work correctly, and I have used them quite often to force "closed source" EAs to only carry out longs or shorts during back-testing.
The "Close only" options also works correctly, resulting in no trading, given that there are no pre-existing open positions to close in a back-test.
By the way, you can change this mode by editing that field in symbol's specifications in the Strategy Tester.
yes but when an EA tries to automatically find the correct symbol to trade on backtest it causes issues, this seems like a bug right?
I consider it an implementation choice made by the developers, and not a bug.
Simply add code logic to your EA to consider the differences between a "live" environment and a "back-test" environment.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
