NullReferenceException by
protected override void StartCalc()
{
this.foo = new VariableSeries<Double>(this);
}
this works:
protected override void Create()
{
this.foo = new VariableSeries<Double>(this);
}
Error text snap:
http://screencast.com/t/zPeyxEB7
ciao
radekj
ps:
indicator implements: IChartCustomDrawer
NullReferenceException by new VariableSeries<Double>(this) [SOLVED]
- Henry MultiСharts
- Posts: 9165
- Joined: 25 Aug 2011
- Has thanked: 1264 times
- Been thanked: 2957 times
Re: NullReferenceException by new VariableSeries<Double>(thi [SOLVED]
Hello Radekj,
New variables should be introduced only through "Create" method.
New variables should be introduced only through "Create" method.