Value = myIndicator()[0] ...to get current bar value
Value1 = myIndicator()[1] ...to get prior bar value
When I compile this I get an error:
'NinjaTrader.Indicator.myIndicator' is a 'type' but is used like a 'variable' CS0118
for each such reference (there are several to several different indicators)
Has some thing changed?
This is old code that has compiled many times before... I just made some unrelated changes.
I believe this is what is documented... as the correct way to reference another indicator.
HELP, Please
Comment