i have it set to 'calculate on bar close' and i set the 'profit target' as 1 tick greater than the entery price, but doing and then running a backtest just closes the position within the very same bar that the position entered, such that it enters the position and then exits it in the same bar at 1 tick without waiting to calculate the next bar.
i want the position to open a market order on a bar close, then wait for the next bar to see if the close is higher. if it is, it closes the position as a market order. if it is not, it keeps the position open until the next bar, and continues to keep the position open until it closes a bar that is higher than the entry price.
Comment