OPEN-SOURCE SCRIPT

US Presidents 1789–1916

36
Description:
This indicator displays all U.S. presidential elections from 1789 to 1916 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.

Historical flag style: All presidents before 1900 are considered historical, providing visual distinction.

Fully overlayed on the price chart for timeline context.

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

Use case: Great for studying historical market behavior around elections or for general reference of U.S. presidents during the early history of the country.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.