The .Count property returns over 2000 values in the Series, but when I try to access a value that is 17 bars back, I get the "Object Referenced not set to an instance of an object". This number was very suspect to begin with since I am only on BAR 6. Is this being fixed, or do I need to change my code to monitor "CurrentBar" for the max index values?
Open.Count:2343
Opens[0].Count:2343
Opens[0][4]:-3
Opens[0][6]:0
Opens[0][7]:-23
TIME CurrentBar:6 CurrentBars[1]:6
Time.Count:2343
Times[0].Count:2343
Times[0][4]:8/11/2015 6:06:00 PM
Times[0][6]:8/11/2015 6:01:00 PM
Times[0][7]:8/11/2015 4:45:00 PM
Indicator 'MyIndicator': Error on calling 'OnBarUpdate' method on bar 6: Object reference not set to an instance of an object.
Comment