OPEN-SOURCE SCRIPT
Atualizado

Stock to Flow

13 973
this study gives the option to plot the stock to flow
OR the number of blocks per month. (you must edit the code by deleting the //)
it should be used only on the monthly timeframe

idea credited to:
medium.com/@100trillionUSD/modeling-bitcoins-value-with-scarcity-91fa0fc03e25
Notas de Lançamento
BTC model price based on Stock to Flow

inspired by: medium.com/@100trillionUSD/modeling-bitcoins-value-with-scarcity-91fa0fc03e25
Notas de Lançamento
forgot to offset the ticker data by 1 candle backwards,
fixed it to stock[1]
Notas de Lançamento
updated to account for the missing 1,000,000 bitcoins.


I added some conditional statements to change the yearly flow rate according to whether chart time frame is in monthly, weekly or daily.
However, I am unable to debug so it only works accurately on the monthly time frame.

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.