I'm trying to use the Prior Day High, Low, & Close to make some math. The method I use is:
PriorDayOHLC().currentHigh[0]
PriorDayOHLC().currentLow[0]
PriorDayOHLC().currentClose[0]
and PriorDayOHLC().currentOpen[0] but when i try to compile the following message appears:
'NinjaTrader.Indicator.PriorDayOHLC.currentHigh' is inaccessible due to its protection level
'NinjaTrader.Indicator.PriorDayOHLC.currentLow' is inaccessible due to its protection level
'NinjaTrader.Indicator.PriorDayOHLC.currentClose' is inaccessible due to its protection level
'NinjaTrader.Indicator.PriorDayOHLC.currentOpen' is inaccessible due to its protection level
any idea?
Thanks
Comment