All the examples of indicator usage I've seen access indicator values by explicitly including their names. ie:

self.bb = self.BB(symbol, 20, 1, MovingAverageType.Simple, Resolution.Daily) self.bb.UpperBand.Current.Value self.bb.MiddleBand.Current.Value self.bb.LowerBand.Current.Value

But what if I have an indicator, and I'm not sure what all the variable names are? How would I discover what they are and access them? I tried this but it didn't work because everything came up as type 'str':

for prop in dir(self.bb): # Never works, everything is a 'str' object if isinstance(prop, IndicatorDataPoint): self.Log('We found one! %s is an indicator value!' % prop)

Thanks in advance!

Author