As a day trader, I would like make sure my strategy EXIT all contracts, at the end of the day ONLY.
Since I might use Range or Volume Charts (BarsPeriod.Id == PeriodType.Range), I can't manage it myself and make sure to set the ExitOnClose at the last session of the day, since this session may not occur.
The best way to handle it, is to have the ExitOnClose at the level of Instrument.MasterInstrument.Session. The Instrument.MasterInstrument.Session End is what really defines the end of the trading day. Is it possible?

Comment