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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.