OPEN-SOURCE SCRIPT
News Straddle

News Straddle
Plot straddle boxes around scheduled news releases (CPI, NFP, FOMC, etc.) with configurable offset, take-profit, and dead-zone levels.
Features
Setup
Best used on 1–5 min charts for NQ, ES, or any instrument sensitive to macro news.
Plot straddle boxes around scheduled news releases (CPI, NFP, FOMC, etc.) with configurable offset, take-profit, and dead-zone levels.
Features
- Paste any list of event dates — works for any recurring news release
- Live mode: boxes appear and track price in real-time before the release, updating with each candle
- Historical mode: boxes anchor to the release candle so you can backtest visually
- Built-in alerts fire before the release so you never miss an event
- All levels (offset, TP, SL/dead zone) and timing are fully configurable
Setup
- Paste your event dates (e.g. "Feb 13, 2026") one per line
- Set the release hour/minute in New York time
- Adjust offset, TP, and SL to match your strategy
- Add an alert to get notified before each release
Best used on 1–5 min charts for NQ, ES, or any instrument sensitive to macro news.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.