Thanks Derek Tishler
I've tried to play around with it by changing the EMA indicator to something which had 'sub-parameters' inside (like lower/upper bands for Bollinger Bands). Below is what I tried & ran into problems with:
Tried to reference the price for the symbol in the universe in OnData using the line below. It runs fine but doesnt seem to want to show anything in the logs. Does it need updating somehow as well? Does that mean setting universes doesn't actually store or accomodate for price data?
line 48: self.Log("PRICE : ".format(self.Securities[symbol].Price))
Tried adding Bollinger Bands instead of EMA:
Returned 'no method matches arguements given' error
I tried the following lines of code:
line 103: self.indicator = context.BB(symbol, self.window)
line 117: return self.indicator.LowerBand.Current.Value, self.indicator.UpperBand.Current.Value
I would expect to use it in OnData in this manner: self.indicators[symbol].get_atr().LowerBand.CurrentValue etc or something similar. How would it work if I want to use Both ATR indicator and another one that uses values?
Many thanks,
Lex