I have been trying for hours to read a data series of a custom indicator that I have built from a strategy but keep getting the following error
'NinjaTrader.Indicator.AATEST2' is a 'type' but is used like a 'variable'
Please see attached screenshot
I have removed all definable parameters from the properties section to make things more simple, hence the reson there is no parameters than need to defined....
I have also followed the following instructions from the thread below for adding / making the data series public etcbut when trying to call the data series like this Print(AATEST().MyDataSeries[0]); I just get the same error message as above..
Can anyone suggest why?
Thanks
UPDATE
I have attached watered down version of the indicator named "indi" which has all the working components removed but still cant be accessed from a strategy. Same error message as above appears....
Comment