PROTECTED SOURCE SCRIPT
Updated US Presidents with Market Returns by Party (1910s-Present)

Colored background for presidents by party affiliation with table displaying market returns for each US president and sum of total returns by party.
Release Notes
This script displays the returns for each U.S. president from the 1910s to the present. It calculates the percentage change in market values during each president's term, colors the background by party affiliation, and shows a table with individual returns and the total returns for Democratic and Republican presidents.Release Notes
Added Trump second termRelease Notes
Returns by US Presidents.Release Notes
- Fixed return calculations.
- Used the exact dates whereby presidents were declared winners for sentiment purposes instead of using January as start date of presidency.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
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.