Likely a very easy question: an indicator I've written sets Values[t].Set(HistogramArea) in a loop where t = 1, 2, 3.
The indicator outputs are between 0 and 1, and there are three series.This graphs correctly in the indicator. Three series, each graphing between 0 and 1.
When running a strategy I Add(IndicatorName()); and then reference the values with IndicatorName().Values[1].Count (which returns what appears to be a correct large number of bars)
Print (IndicatorName().Values[1][0]); returns zero.
Print (Print (IndicatorName().Values[1][IndicatorName().Count - 1]); returns nine hundred and something.
1) Should the indicator values be referenced with an ibarsago parameter?
2) Where are my correct values outputs for series IndicatorName.Values[1][0], for example?
Thanks.
BD
Comment