Buffett IndicatorThis is an open-source version of the Buffett indicator. The old version was code-protected and broken, so I created another version.
It's computed simply as the entire SPX 500 capitalization divided by the US GDP. Since TradingView does not have data for the SPX 500 capitalization, I used quarterly values of SPX devisors as a proxy.
I tried to create another version of the Buffett indicator for other countries/indexes, but I can't find the data. If you can help me find data for index divisors, I can add more choices to this indicator.
It's interesting to see how this indicator's behavior has changed in the last few years. Levels that looked crazy are not so crazy anymore.
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as well as in historical backtesting.
This post and the script don’t provide any financial advice.
Buffetindicator
Buffett IndicatorA simplistic Buffett Indicator that shows the ratio of total US stock market valuation to GDP. Lines are plotted to represent 50%, 100%, 150%, and 200% of GDP. All plotted lines can be hidden to suit your own needs.
Buffet indicatorI was tired of not having something to compare the real economic strength of a country (US only for now...) to it's companies valuations.
So I made my own! Trading view does not have the wilshire indice, but it has the Rus 3000, good enough, & the US GDP since 1946 so this is what I am using.
Warren Buffet is famous for liking this so now the idea has its name. Let's call it the Buffet indicator (I doubt the only one that had the idea).
This indicator can be used on any indice thought, even on specific stocks.
You can even use it as a filter with an alarm (ofc not to be used on its own but patient people can really go far if they ONLY invest when the ratio is at the bottom, just as long as it is in the right companies):
One could invest in the middle of the highest green area (waiting for it to go too low = risk missing out), and add more when it goes to the second green area, for example. You sort it out.
Enjoy! See you on Mars luxury station in 25 years (the one I will build).