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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。