You will see from the attached screenshot of the Executions tab, that the exit on close works fine until the Entry on 11-May-2010. This position is not exited, until the strategy backtest terminates on 22-Nov-2011.
I am using the <use instrument setting> parameter for determining the session template. Using other templates will change the date/time of this final trade, but there is still a premature failure of the strategy because the ExitOnClose stops working.
Is this a known bug? Is there a workaround?
thanks

Comment