Reading that literally, if CalculateOnBarClose is true, I would expect that OnBarUpdate would only be called once every time a bar is completed. So, if on a 5 minute chart, once every 5 minutes exactly at the 5 minute mark.
First observation: I see trades being entered at intra-bar times even with CalculateOnBarClose set to true.
First question: What is the correct behaviour to expect for OnBarUpdate in relation to CalculateOnBarClose and ticks?
Second situation: According to the NT7 Manual, once a trade is entered with a managed entry method (e.g. EnterShort), it must be re-entered every time OnBarUpdate is called or the position will be cancelled. That implies that the conditions that were tested to initiate the entry must remain true throughout the life of the position.
Second observation: Trades persist even after the initial entry conditions have changed.
Second question: What is the actual behaviour of the managed approach in this respect?
Thanks for your kind advice.

Comment