Inside the protected override void OnBarUPdate() I have the following:
Indicator1_data.Set(VPA(20).mysignal[0]);
I have done this many times without any problems.
However, in this particular case I am getting the following error:
"NinjaTrader Indicator VPA.mysignal is inaccessible due to its protection level."
What is my problem here?
thanks,
Comment