The data in the backtest uses closing prices and is not an exact duplication of the actual performance, but a very close approximation, like most backtests are. Over several trades the difference between trading on the open or on the close becomes irrelevant, especially when holding a stock for...