OPEN-SOURCE SCRIPT

US Presidents 1920–2024

51
Description:
This indicator displays all U.S. presidential elections from 1920 to 2024 on your chart.

Features:

Vertical lines at the date of each presidential election.

Line color by party:

Red = Republican

Blue = Democrat

Gray = Other/None

Labels showing the name of each president.

Modern flag style: Presidents from 1900 onward are highlighted as modern, giving clear historical separation.

Fully overlayed on the price chart for timeline context.

Customizable: Label position (above/below bar) and line width.

Use case: Useful for analyzing modern U.S. presidential cycles, market reactions to elections, or quickly referencing recent presidents directly on charts.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。