OPEN-SOURCE SCRIPT
Telah dikemas kini

Stock to Flow

13 569
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
Nota Keluaran
BTC model price based on Stock to Flow

inspired by: medium.com/@100trillionUSD/modeling-bitcoins-value-with-scarcity-91fa0fc03e25
Nota Keluaran
forgot to offset the ticker data by 1 candle backwards,
fixed it to stock[1]
Nota Keluaran
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.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.