Hi, I am building a strategy y based on the EMA(8) and I am consolidating data to 5 min data.

The indicator updated every 5 min but I would like to have a real-time update, (like the broker chart for example).

Is that possible to code? 


Code:  self.AddEquity("SPY", Resolution.Minute)

        FiveMinuteConsolidator = TradeBarConsolidator(timedelta(minutes = 5))

        FiveMinuteConsolidator.DataConsolidated += self.On5minData
        self.ema8 = ExponentialMovingAverage(8)
        self.RegisterIndicator("SPY", self.ema8, FiveMinuteConsolidator)
        self.SubscriptionManager.AddConsolidator("SPY", FiveMinuteConsolidator)