OPEN-SOURCE SCRIPT

A Simple Bitcoin Stock to Flow Model

Updated
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 ;)
snapshot
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.
Bitcoin (Cryptocurrency)stocktoflowTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer