For example, if I have a series where the calculation of the value is expensive and not all indicators/strategies would use it or use all values, it should not calculate.
public class MySeries : Series<MyEnum>
{
public override MyEnum this[int ago]
{
get
{
if (!IsValidDataPoint(ago))
this[ago] = ExpensiveCalculation(ago);
return base[ago];
}
set { base[ago] = value; }
}
}

Comment