OPEN-SOURCE SCRIPT

US Presidents 1920–2024

68
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. קרא עוד בתנאים וההגבלות.