A price can be recorded correctly and still be the wrong price for a backtest. If the signal was not available when that price occurred, assigning it to a trade gives the simulation information from the future.
A strategy can hold a position across several forecasts and still change its mind far too often. In Backtest Badger's genuine 2024 native-minute backtest, the Ridge strategy bought and sold Bitcoin 570 times each. Its independently funded Ether account made 499 buys and 499 sells. Both finished with less than half their starting money.
One of our first simulated trading strategies nearly doubled its starting capital. Then we included trading costs. The same strategy lost almost nine-tenths of it.