OPEN-SOURCE SCRIPT
已更新

US Midterm Elections

456
US Midterm Elections is a macro event indicator that highlights historical and future U.S. midterm election dates directly on the chart.

Useful for analyzing correlations between political cycles and market behavior across equities, crypto, indices, bonds, and macro assets.

Features:
• Historical and future midterm election markers
• Highlighted upcoming election
• Custom labels and styling
• Clean macro cycle visualization

Built for long-term market cycle and sentiment analysis.
版本注释
Version 1.1
版本注释
Version 1.2
版本注释
Version 2.0

Major update to the US Midterm Elections indicator.

New features added:
• Automatic detection of historical and future U.S. Midterm Elections
• Dynamic highlighting of the next upcoming election
• Fully customizable vertical election markers and labels
• Future election projections with adjustable number of cycles
• NEW: Full-height macro cycle zones
• 1 year BEFORE midterms (N-1)
• 1 year AFTER midterms (N+1)
• Independent ON/OFF toggles for pre-election and post-election zones
• Custom zone colors and transparency controls
• Improved label positioning and date formatting
• Enhanced macro cycle visualization for stocks, crypto, indices and global markets

This update transforms the indicator from a simple election marker into a broader macro-political cycle analysis tool.

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。