slippage in backtest

 
hi
do you have any ideas(codes) how to simulate
slippage in backtest except increase the spread?
thanks
 
Subtract an amount of money that corresponds with the lotsize?
Reason: