ie if (Bars.BarPeriod == BarsPeriod.Minute) { int myInt = MethodConvertToIndex(myTimeSpan); }
I am creating an indie, a timespan is defined on chart, & when the timespan period begins the start to end period(timespan) is defined on the chart.
Am I then able, when the current bar has reached that timespan, to determine where the timespan ends, if a bartype it time based, to locate the ending bars index?

Comment