In my strategy, is there a way to place an order on the close of the 2nd to last bar of the session or open of the last bar of the session? i.e if the session ends at 4:00pm and I'm on the M5 timeframe then the order would be placed on the close of the 3:55pm candle / open of the 4:00pm candle.
I have a work around using times but wondered if there was a simpler way. I'm not sure if I can use Bars.IsLastBarOfSession as the order may not be able to be executed if the session has ended at the daily maintenance period at 5:00pm.
Thanks,
Neil
Comment