It seems there is a new 'feature' where dataseries only accept to look back for a certain number of bars. And there is a new parameter where you can say 256 or all ... at least thats my understanding.
So I've set this parameter to Infinite - but I'm still getting this error.

This is the definition of the DataSeries-Property
[Browsable(false)]
[XmlIgnore()]
public DataSeries SwingHandlerHigh
{
get
{
Update();
return SwingHigh;
}
}
How can I prevent this error.
But by the way - this solution is going to be a potential error source anyway.
What if you start with a dataseries with about 200 entries and during the day the 256 entry range will be exceeded - and you have built some logic on that - like I do -- you will get an application crash!!!
I think this construction gives a strategy an unneccessary destabilization potential.
So it will end up to set all the MaximumBarsLookBack to Infinite and the memory saving effect has gone.
Why isn't it possible to pass a number of lookbackperiods ?

Comment