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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.