OPEN-SOURCE SCRIPT
Mis à jour

US Midterm Elections

455
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.
Notes de version
Version 1.1
Notes de version
Version 1.2
Notes de version
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.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.