Back test trade price

Hello, my strategy is to place an order at a wear price, not the opening price of the next K bar. How do I set it during the backtest? The first tick after placing an order during the backtest is set to the transaction price. database is tick base interval.

Thank you very much, any suggestions are fine