So I know that when using EnterLong() in a backtest, the entry will be made on the open of the next candle. My question is, how can I make it to where the entry is made on the close of the current candle.
In this strategy, I buy when the Renko bar closes above the brown moving average, but since EnterLong() fills on the open of the next candle, it fills me lower. This is giving me overstating my profit in the back test and overstating my profit. How can I make the backtest fill me on the close of the green candle?
Comment