15Min Opening RANGE - Manipulation Candle

687
Opening Range Manipulation Candle [Custom]

This indicator automatically marks the opening range of the trading session and tells you at a glance whether that candle qualifies as a genuine "manipulation candle" — a fast, aggressive opening move that is more likely to reverse than continue.

How it works

Opening Range detection – The script tracks the high and low of the first 15-minute period of the session (default 09:30–09:45 New York time, fully configurable session window and timezone), regardless of what chart timeframe you are actually trading on (works the same on a 1-, 5-, or 15-minute chart).
Daily ATR filter – Once that opening range closes, its size (high − low) is compared to the prior day's completed 14-period Daily ATR (both length and lookback are configurable). If the range is equal to or greater than a chosen percentage of the Daily ATR (default 20%, adjustable), it is flagged as a confirmed manipulation candle.
Visual box – A box is drawn around the opening range and extended a configurable number of minutes to the right (default 105 minutes: the classic 90-minute reaction window plus a buffer). The box, its border, and its text turn green when the ATR condition is met, and red when it is not — so you instantly see whether the move is statistically significant enough to trust.
On-chart stats – A label attached to each box shows the exact Daily ATR value, the range size, and the resulting percentage, so you never have to calculate it by hand.
History for backtesting – The script keeps a configurable number of past sessions' boxes on the chart (default 10, adjustable up to several hundred) so you can scroll back and visually backtest how often the opening range actually qualified as a manipulation candle.
Alert – An optional alert fires the moment a session's opening range is confirmed as a valid manipulation candle (box turns green), so you can be notified without watching the chart.

Why it matters

The idea (popularized in retail ORB/liquidity-sweep strategies) is that large institutions often need to generate liquidity at the open by triggering stop-losses in one direction before reversing price in the other. A fast, oversized opening candle relative to the asset's normal daily volatility (ATR) is one practical way to filter for "real" institutional participation versus routine opening noise. This script does not predict direction or generate trade signals — it purely automates the range-marking and ATR-qualification steps, leaving pattern/entry confirmation (e.g. candlestick reversal signals) to the trader's own method or additional tools.

Inputs

Opening Range session & timezone
Box length after opening (minutes)
Number of past sessions to keep visible
Daily ATR length & threshold percentage
Box/border/text colors, border width & style, label size
Alert on/off

This script does not repaint the Daily ATR value: it always references the prior day's fully closed ATR, so the comparison is stable throughout the session.

Отказ от ответственности

Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.