The OnStartUp code:
Print("Inputs:"+Close.Count); for( int i = 0; i < Close.Count; i++ ) Print("I:"+ i + ",V:" + Close[i]);
Inputs:1138
I:0,V:1.3091
I:1,V:1.3095
I:2,V:1.3095
I:3,V:1.3095
I:4,V:1.3095
I:5,V:1.3095
I:6,V:1.3095
Error on calling 'OnStartUp' method for indicator 'xxx': Object reference not set to an instance of an object.
Any idea why this happens? The plot of the historical data works fine, so why I can't access the OHLC data?
Thanks
Comment