It returns zero when trading is disabled. F.i. in the lookback period, at weekend, and in the inactive bars of a time frame.