Draw.Line(this, "line1", false, new DateTime(Time[Bars.BarsSinceNewTradingDay].Year, Time[Bars.BarsSinceNewTradingDay].Month, Time[Bars.BarsSinceNewTradingDay].Day, 7, 00, 0),
j , new DateTime(sessionIterator.ActualTradingDayEndLocal),
j , Brushes.Brown, DashStyleHelper.Dot , 2);
Could you please advise me on what is wrong with my use of the session iterator to find the time when the trading day ends or alternatively, if there is a better way to code for the objective I am trying to accomplish, please let me know. Thanks in advance.
Comment