It's possible if you manage the spread, bid and ask price inside your EA. You have to monitor your trades and close it yourself, not by sl/tp.
MT5 have varying spread as it's saved in history data (1 value by minutes data).
Tickstory allows you to import tick data into MT4 for use with the strategy tester.
You can specify the spread you want to be applied to that tick data, but it will be constant throughout that tick data.
For example, while strategy tester may want to apply the last known spread of 30 points, you can download tick data with a spread of 20 points and run your backtests on that.
To add comments, please log in or register