It shows the execution and stop placement actually happening 5 seconds past 9am (9 00 05 00 PM).
In the chart the blue arrow showing the "Z1L" long entry al 20218.5 at the bar 2042 which has the time 21:00:10. I imagine that this is correct, it shows the execution on the chart at the first bar available after the actual execution.
The bar 2041 ends and gets plotted at 21:00:00. The Watch4 window of the Vs debugger shows also 9PM for bar 2041. All of this is correct to me.
The problem is that the debugger (and the chart with the pink line) shows that the Market Position is Long at the bar 2041, before the actual execution even at the first tick of the bar as I am using
The behavior is independent from the order fill resolution but if I Calculate on each tick it disappears.
Can you explain me the logic?
Thank you.
G
Comment