I am trying to set the brick size to ATR at Initilaze for Renko Consolidator but it is given  Runtime Error: Attempted to divide by zero. (Open Stacktrace) ? How Cab I assign a ATR as brick size ?

 

       #ATR NAS100USD
        self.atrNAS = self.ATR("NAS100USD", 24, MovingAverageType.Simple,Resolution.Hour)
        #RENKO NAS100USD
        self.brickNAS = self.atrNAS.Current.Value//1
        renkoCloseNAS = RenkoConsolidator(self.brickNAS)
        renkoCloseNAS.DataConsolidated += self.HandleRenkoCloseNAS
        self.SubscriptionManager.AddConsolidator("NAS100USD", renkoCloseNAS)