OPEN-SOURCE SCRIPT
Atualizado 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 ;)
Notas de Lançamento
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. Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.