I follow how the docs registers the indicator with Consolidator. But It doesnt seem to work? And here's the logs

2021-09-28 07:25:00 , 34561.0, 34561.0, 34561.0, 34561.0
2021-09-28 07:26:00 enter hma updated 
2021-09-28 07:26:00 , 34561.0, 34561.5, 34561.0, 34561.0
2021-09-28 07:27:00 enter hma updated 
2021-09-28 07:27:00 , 34561.0, 34562.0, 34561.5, 34561.5
2021-09-28 07:28:00 enter hma updated 
2021-09-28 07:28:00 , 34561.0, 34579.5, 34571.0, 34571.0
2021-09-28 07:29:00 enter hma updated 
2021-09-28 07:29:00 , 34561.0, 34584.0, 34582.5, 34582.5
2021-09-28 07:30:00 enter hma updated 
2021-09-28 07:30:00 , 34586.0, 34586.0, 34584.5, 34584.5
2021-09-28 07:31:00 enter hma updated 
2021-09-28 07:31:00 , 34586.0, 34597.0, 34591.5, 34591.5
2021-09-28 07:32:00 enter hma updated 
2021-09-28 07:32:00 , 34586.0, 34608.0, 34602.5, 34602.5
2021-09-28 07:33:00 enter hma updated 
2021-09-28 07:33:00 , 34586.0, 34595.0, 34601.5, 34601.5
2021-09-28 07:34:00 enter hma updated 
2021-09-28 07:34:00 , 34586.0, 34595.0, 34595.0, 34595.0

1st number : close price every 5 mins 

2nd number: close price every min

3rd number : indicator value  every min

4th number : should be indicator value every 5 min, but it is the same as 3rd number which is indicator value in every min

In the log, you can see the first number(close price) changes every 5 mins, so the consolidator works for the quote bar. But 4th number dosen't change the number every 5 mins?

PS: I change self.hma to sma for debugging, so the code may seem strange

Does anyone have any idea? Thx in advance!!!!!!

Author