I use two methods:
1) Suppose my system trades at the opening price of the next interval. I have a slippage parameter, say it is 0.5, my system calculates the difference between the high price of the interval and the opening price of the interval, multiplies by 0.5 and adds the opening price...