Revision 8d7f85ff084fd216f96ea59673e9aa21e62e56c7 authored by Alex Gorbachev on 25 February 2021, 05:16:52 UTC, committed by GitHub on 25 February 2021, 05:16:52 UTC
There are times when for the whole period of Bollinger Band no price changes happen. Thus, top/bottom/mid and close are all the same. In this case pband calculation cause div by zero. This change would set it to NaN in these cases. Indeed, there is no good default - the price "touches" all three lines at the same time.
1 parent 84ced26
Raw File
requirements-doc.txt
-r requirements-core.txt

# doc
Sphinx==2.2.1
sphinx-rtd-theme==0.4.3
back to top