OPEN-SOURCE SCRIPT

US Presidents 1920–2024

42
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.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.