public static Bar GetBarAtIndex(this Indicator.Indicator indicator, int index, int barsArrayIdx)
{
return indicator.BarsArray[barsArrayIdx].Get(index);
}
usage: this.GetBarAtIndex(0, 23)
Its supposed to return me the bar object for an index - not "bars ago" the actual left-to-right index that doesn't ever change.
How do I achieve this now?
Comment