When loading a chart, you have a choice of data bars: Month, Week, Day, Minute, etc.
You also have a choice of Interval Settings: 1, 2, etc.
However, when writing script for an indicator there is no location to put the interval setting. For example:
if(Bars.Period.Id == PeriodType.Minute)
I need to know the Interval Setting selected on the chart, no matter if it is 2 days, 3 weeks, etc. How can I do this?
Thanks.
Tony
Comment