OPEN-SOURCE SCRIPT
Updated Stock to Flow

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
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
Release Notes
BTC model price based on Stock to Flowinspired by: medium.com/@100trillionUSD/modeling-bitcoins-value-with-scarcity-91fa0fc03e25
Release Notes
forgot to offset the ticker data by 1 candle backwards,fixed it to stock[1]
Release Notes
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Read my blog and detailed trading strategies at substack.com/@dmt62dmt
Watch my Youtube channel at youtube.com/@DMT62DMT
Follow me on twitter at x.com/DMT62DMT
Watch my Youtube channel at youtube.com/@DMT62DMT
Follow me on twitter at x.com/DMT62DMT
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
Read my blog and detailed trading strategies at substack.com/@dmt62dmt
Watch my Youtube channel at youtube.com/@DMT62DMT
Follow me on twitter at x.com/DMT62DMT
Watch my Youtube channel at youtube.com/@DMT62DMT
Follow me on twitter at x.com/DMT62DMT
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.