Mark Penzer:
It depends on the spread. You should understand that the chart is BID prices but you want to close sell order by ASK.
I develop in both MT4 & MT5 and when testing MT4 EAs to check they match MT5 I discovered this issue, the take profit in this visual test obviously gets hit but the tester doesn't trigger the take profit. Any chance this can be fixed because this is a major issue when EAs are sold mainly based backtest demo?
Petr Nosek:
It depends on the spread. You should understand that the chart is BID prices but you want to close sell order by ASK.
It depends on the spread. You should understand that the chart is BID prices but you want to close sell order by ASK.
It is true, when reach the take profit, the spread always increase that mean ASK can reach the level to take profit. But Bid did not move up, it let spread increasing.
This is not show in the history chart. When we do back test, so have good result and fail with real life.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I develop in both MT4 & MT5 and when testing MT4 EAs to check they match MT5 I discovered this issue, the take profit in this visual test obviously gets hit but the tester doesn't trigger the take profit. Any chance this can be fixed because this is a major issue when EAs are sold mainly based backtest demo?