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 ;)
版本注释
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.