OPEN-SOURCE SCRIPT

US Presidents 1789–1916

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

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.