OPEN-SOURCE SCRIPT
מעודכן US Midterm Elections

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.
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.0Major 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, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.