Green bar 1
Green bar 2
Submit order one tick above the high, including the wick, of green bar 2 to enter long
My assumption would be that this is how I would do this, for example, in a condition set:
open < close 2 bars ago
open < close 1 bar ago
Do the following:
Enter long limit High 1 bar ago + 1 tick offset
What seems to be happening however is the limit order is submitted at the close of bar 2 + 1 tick instead of the high. I have this strategy setup to update on price change, as I have had issues in the past with stop orders not being submitted with the calculation of on bar close. When I have used the on bar close method, stop orders are not submitted in backtesting until a bar closes, which is not great practice as a lot can happen in a bar!
If someone can check my logic here, that would be great.
Chart example, with annotated bars to match above:
I'd like to have a limit buy order submitted one tick above the wick of bar 2, but only after the bar closes.

Comment