OPEN-SOURCE SCRIPT

News Straddle

122
News Straddle

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
  1. Paste your event dates (e.g. "Feb 13, 2026") one per line
  2. Set the release hour/minute in New York time
  3. Adjust offset, TP, and SL to match your strategy
  4. 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.

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.