Hello,
Please view the attached screenshot for a couple trade markers and let me know if this is expected behavior or not.
The entry/exit marker plotted on a candle is shown above the high or below the low of that candle. The actual high / low of the following candle would have allowed the order to fill.
I've tried this with Range Bars, Tick Bars, RangeNoGap Bars with the same results.
I'm using the following order types:
[FONT=Courier New]EnterLong(DefaultQuantity, [SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]"target1"[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2]);[/SIZE][/SIZE][/FONT] [FONT=Courier New][SIZE=2][SIZE=2][SIZE=2][SIZE=2]SetStopLoss([/SIZE][/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]"target1"[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2], CalculationMode.Price, Position.AvgPrice-autoBreakEvenPlusTicks*TickSize, [/SIZE][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]false[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2]);[/SIZE][/SIZE] [SIZE=2][SIZE=2][SIZE=2][SIZE=2][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/FONT] [FONT=Courier New][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/FONT] [FONT=Courier New][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2][SIZE=2]EnterLong(DefaultQuantity, [/SIZE][/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]"target2"[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2]);[/SIZE] [/SIZE][/SIZE][/SIZE][/SIZE][/SIZE][/FONT] [FONT=Courier New][SIZE=2][SIZE=2][SIZE=2][SIZE=2]SetStopLoss([/SIZE][/SIZE][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000][SIZE=2][COLOR=#800000]"target2"[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2], CalculationMode.Price, Position.AvgPrice-autoBreakEvenPlusTicks*TickSize, [/SIZE][/SIZE][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff][SIZE=2][COLOR=#0000ff]false[/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][SIZE=2]);[/SIZE] [/SIZE][/SIZE][/SIZE][/FONT]
If I understand right, this is part of the NT internal order handling. If there's something I need to do differently in my code (ie, by verifying High[0] above or Low[0] below) or an option that needs set differently, please let me know.
Thanks for your help.
Kirk

Comment