i have noticed when comparing backtests to forward tests that results are very accurate except the backtests show buying and selling 1 second earlier compared to that of the forward live tests.
is it possible to add code to an ea to delay placing orders by 1 or more seconds and also add slippage by "x" pips to simulate server delay/latency to make testing more accurate to real world?
backtest : true
delay buy after signal : msecs
delay sell after signal : msecs
( if possible)add pips to ask, bid price : +pips