Hi everyone,

 

I am trying to get a HMA indicator working with the coarse selection function. I got the algorithm working with a single equity but I am now having trouble with these universe filters.  I created the indicator class Hull to wrap the few variables. I have a debug statement in the CoarseSelectionFunction but the hull.Current.Value is 0. As you can see in the backtest I am passing the history dataframe down on _init_ so I am a little bit stumped as to why it's not populating the data.

 

Obviously the algorithm is still half-baked, I am going to wrap the Hull values in a window-dataframe so I can get the growth rate/ momentum of the HMA, but I'm stuck at this point. Any advice or help is much appreciated.

 

Thanks!