OPEN-SOURCE SCRIPT
Updated A Simple Bitcoin Stock to Flow Model

This is just a bit of fun. Stock to flow is a hot topic so I thought I'd mess around. Here is a model that is very closely based on the one available here: https://digitalik.net/btc/. I take no credit for the actual model.
It can be tuned with parameters a and b, but this is the best fit imo.
The model is a bit pointless as Tradingview doesn't let us run scripts on future candles, so no predictions.
The blue line is the actual model and the pink line is a 200 MA.
Run this script on the DAILY chart please ;)
Here's a close up of current action. Interesting maybe ;)

It can be tuned with parameters a and b, but this is the best fit imo.
The model is a bit pointless as Tradingview doesn't let us run scripts on future candles, so no predictions.
The blue line is the actual model and the pink line is a 200 MA.
Run this script on the DAILY chart please ;)
Here's a close up of current action. Interesting maybe ;)
Release Notes
Updated by request to allow use on weekly time frames. Use on all time frames other than 'D' or 'W' will throw an unsupported resolution error. Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.