I created a custom volatility indicator that's throwing only “Runtime Error:” with no other information when it's registered with Field.Volume. For example…

self.volatility = Volatility(20)

self.RegisterIndicator('AAPL', self.volatility, Resolution.Daily, Field.Volume)

Is this a bug, not possible with custom indicators or am I doing something wrong? Backtest is attached. It wouldn't let me attach the error so I commented out the Field.Volume part and used close for the test. Thanks!