OPEN-SOURCE SCRIPT

ORB Retest Pro v3 + Smart Zones

611
ORB Retest Pro v3 + Smart Zones is a customizable Opening Range Breakout indicator built for traders who want clean ORB structure, retest-based entries, and real-time smart money confluence on the chart.

The indicator maps the Opening Range High, Low, Mid, and ORB box, then waits for price to break the range and retest it before printing a signal. This helps filter out weaker breakout candles and focuses on more structured continuation setups.

In addition to ORB logic, the script detects and displays real-time Fair Value Gaps (FVGs), Inversion Fair Value Gaps (IFVGs), Order Blocks (OBs), and Breaker Blocks using customizable zone boxes. Zones can be shown or hidden individually, colors can be fully customized, and broken zones can automatically remove themselves from the chart to keep the layout clean.

A key feature of this indicator is its smart zone behavior. When enabled, broken FVGs can automatically convert into IFVGs, allowing the chart to reflect changing market structure instead of leaving outdated zones on screen. You can also keep zones from previous sessions visible and control the number of days to look back, making it useful for both intraday and multi-session analysis.

The indicator is designed to work well on futures and stocks, with adjustable session times, timezone settings, and an optional timeframe filter so the ORB can be tailored to different markets and trading styles.

Features
Custom Opening Range session
Adjustable timezone
ORB high, low, mid, and box
Break + retest signal logic
Optional reclaim / rejection close confirmation
ATR displacement filter
Minimum breakout distance in ticks
Retest must occur within a user-defined number of bars
One signal per side per day or one total signal per day
Real-time FVG, IFVG, OB, and Breaker detection
Fully customizable zone colors and visibility
Optional automatic removal of broken zones
Optional FVG to IFVG conversion
Ability to keep previous-day zones on the chart
Adjustable lookback period
Confluence-based signal coloring
Built-in alerts
Best use
This indicator is best used on intraday charts such as 1m, 3m, 5m, and 15m, especially for traders who want to combine Opening Range Breakout structure with smart money zone confluence.

Notes
FVG, IFVG, Order Block, and Breaker logic are rule-based and designed for consistent automation inside Pine Script. They may not match every discretionary interpretation exactly, but they provide a structured and practical framework for real-time chart analysis.

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

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