Is there a work around on this? Or can I set the size to a different value the 256?
Highbanddata = new DataSeries(this,maximumBarsLookBack.TwoHundredFift ySix);
Highbanddata = new DataSeries(this, maximumBarsLookBack.Infinite);
public override void GetMinMaxValues(ChartControl chartControl, ref double min, ref double max)
{
if (Bars==null) return;
int lastBar = Math.Min(this.LastBarIndexPainted, Bars.Count - 1);
int firstBar = this.FirstBarIndexPainted;
min=Double.MaxValue;
max=Double.MinValue;
for(int index=firstBar;index<=lastBar;index++)
{
if ((index<=lastcalcbar) && (index >=Math.Max(1,startbar)))
{
min=Math.Min(min,Lowbanddata.Get(index));
max=Math.Max(max,Highbanddata.Get(index));
}
}
}

Comment