ZeroDivision Error CMF Moneyflow Indicator
I was trying this function CMF
For the default dataset it works. Now I tried my dataset. Most volume Values are close to zero and I get this error:
line 772, in _once_op dst[i] = op(srca[i], srcb[i]) ZeroDivisionError: float division by zero
Datetime,High,Low,Open,Close,Volume 2019-03-01 20:00:00,11618.71,11618.21,11618.21,11618.41,0.00251199997728691 2019-03-01 20:00:01,11619.21,11618.71,11618.71,11618.91,0.00246599997626618
Does anyone know how to resolve this? Thanks
You need to ask on backtest rookies website since they developed the indicator.