Credit goes to the original writer of the script, Quantadelic, who generously allowed anyone to copy/edit. I adjusted the value of the bottom/top intercept and slope to better fit the March 2020 coronavirus dip.
Use Bitstamp BTCUSD for better reading.
リリースノート
Removed non-classical Fib ratios
added 0.886 removed 0.91, 0.15 added -0.236 for better fit the dips
Adjusted the Lower slope and intercept to center the 'stock to flow' model, instead of the the price itself.