i have problem with exit on close exits leading to open positions showing in startegies that i enable before their chart opening time.
this a problem if i want to enable strategy before chart period start time + leave it running.
problem is strategy still thinks it has open position + sets profit target + stop loss orders (i want to leave the immediately submit historical orders option on).
it does not seem to realise in this situation that the position actually closed on exit until the start of the opening time period bar.
exit on close works ok at end of day but the knock on of the assumed open position when restarting strategy the next day before chart session begins is a problem.
Comment