Hi, I am trying to build the super trend indicator. But I run into some problems.

1) I dont know why the "self.up" is zero in the log. It seems the atr cannot be updated. After reviewing other discussions, I still cant fix it.

2) Also, is it a correct way to use TradeBarConsolidator(1) to pass 1 min TradeBar to the Update method. I do it this way because I ran into some type errors.

3) I can only find indicators doc/ example in C# on github. Is there any python version ?

Thx in advance