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.