OPEN-SOURCE SCRIPT
Updated True Inflation Compensator (USD)

This script will draw your underlying ticker compensating for a truer USD inflation rate based on an average between the M2 money supply increase and the government's reported CPI. It only considers the last year of inflation by default, but you can set any amount of years in the options.
This is especially relevant given the current massive printing that is going on within the US economic system. If you look at the S&P500 the market has by no means completely recovered, but due to massive printing most do not realize this by just looking at the base chart. A similar concept applies to Bitcoin. Unfortunately due to today's economic climate one must compensate for printing to get a true analysis of how investments are doing.
This is especially relevant given the current massive printing that is going on within the US economic system. If you look at the S&P500 the market has by no means completely recovered, but due to massive printing most do not realize this by just looking at the base chart. A similar concept applies to Bitcoin. Unfortunately due to today's economic climate one must compensate for printing to get a true analysis of how investments are doing.
Release Notes
added configurable SMARelease Notes
Updated chartOpen-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.
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.
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.