OPEN-SOURCE SCRIPT
Diupdate

ORB + Fair Value Gaps (FVG/iFVG) Suite with Daily 50% Midline

711
A complete smart-money–focused price-action toolkit combining the New York Open Range Breakout (ORB), ICT-style Fair Value Gaps, Inverted FVGs, and a dynamic Daily 50% Midline.
Designed for traders who want a clean, fast, and highly visual way to track liquidity, imbalances, and intraday directional bias.

📌 Key Features
1. NY Session ORB (09:30–09:45 New York Time)

Automatically plots:

ORB High

ORB Low

Labels for ORB high/low

Optional 5-minute chart restriction

Lines extend forward for easy reference

Used to identify breakout conditions, liquidity sweeps, and directional bias into the morning session.

📌 2. ICT-Style Fair Value Gaps (FVGs)

Full automated detection of bullish & bearish FVGs based on the classic 3-candle displacement structure:

Bullish FVG: high[2] < low

Bearish FVG: low[2] > high

Each FVG is drawn as a box with:

Custom colour

Custom border style (solid, dashed, dotted)

Automatic extension to the right until filled

Optional size text showing the gap in points (font size/colour adjustable)

Adjustable max lookback for performance

📌 3. Inverted FVGs (iFVGs)

Once price fully fills an FVG, it automatically becomes an iFVG, shown with:

Custom iFVG colour

Custom border style

Extension to the right

Once price trades through the zone from the opposite side, the iFVG is considered “consumed” and:

It stops extending

And optionally auto-deletes based on user settings

This makes it easy to track meaningful imbalances that turn into liquidity pockets.

📌 4. “Show Only After ORB” Filter

Optionally hide all FVGs/iFVGs formed before the ORB completes.
This is especially useful for intraday strategies focused on NY session structure only.

📌 5. Daily 50% Midline (OHLC Midpoint)

A dynamic, always-updating midpoint of the current daily candle:

Mid = (Daily High + Daily Low) / 2

Features:

Custom colour

Dashed styling

Extends left and right as a horizontal ray

Updates live as the daily candle forms

Great for bias filters, mean reversion, and daily liquidity zones.

📌 6. Performance-Optimized (Fast!)

Built with:

Fully configurable max lookback

Memory-efficient arrays

Auto-cleaning of old FVG/iFVG objects

Lightweight daily midline recalculation

This allows extremely fast rendering even on 1-minute charts.

📌 7. Alerts

Includes a clean alert condition:

Price returned to a Fair Value Gap

Works for both bullish and bearish FVG revisits.

🎯 Who This Indicator Is For

This tool is ideal for traders who use:

ICT / SMC concepts

Liquidity-based trading

ORB strategies

Imbalance-driven price action

Intraday or NY session-focused setups

Futures, crypto, forex, and equities

🎁 Summary

This indicator gives you:

A clean ORB framework

Automatic, dynamic FVG and iFVG analysis

Real-time daily candle context

Customizable visuals

Powerful session filtering

Efficient performance

All in one clean, intuitive package built for real-time decision making.
Catatan Rilis
✅ Updated Description (TradingView-Compliant)
Overview

This indicator combines several ICT-style concepts into a single cohesive tool designed for intraday traders who rely on displacement, liquidity behaviour, and session-based context.
While ORB tools, FVG indicators, and daily midlines exist independently, no existing script brings all of these elements together into a unified framework that interacts meaningfully with price action in real time.

The goal of this script is to remove the clutter and redundancy of using multiple separate indicators and instead provide one streamlined, efficient visual system for structure, imbalance, and session context.

📌 1. NY Session ORB (09:30–09:45 New York Time)

The script automatically computes and displays the Opening Range Breakout (ORB) high and low for the NY session, including:

ORB High & Low

Auto-extending ORB lines

Labels for both levels

Optional 5-minute time-frame restriction

The ORB provides the structural “opening range” that anchors the rest of the indicator. Many traders use this window to identify directional bias, potential liquidity sweeps, or opening displacement.
Subsequent FVG logic can also optionally filter out any imbalances formed before this ORB completes.

📌 2. ICT-Style Fair Value Gaps (FVGs)

The script automatically detects classic 3-candle displacements:

Bullish FVG: high[2] < low

Bearish FVG: low[2] > high

Each FVG is drawn as a dynamic zone that:

Extends to the right until filled

Uses user-defined colours, border styles, and opacity

Includes optional gap-size labels (points)

Adapts its display based on ORB completion

These zones help visualize inefficiencies and potential points of return or continuation.

📌 3. Inverted FVGs (iFVGs)

Once price fully closes through an FVG, the zone transitions into an inverted FVG, marking a shift in liquidity behaviour.
The script highlights iFVGs with:

A distinct colour

Custom border styles

Continued extension until fully consumed

Automatic deletion when desired

This provides an objective, automated way to track important imbalances that flip into responsive liquidity pockets.

📌 4. Daily 50% Midline + Price Label

The indicator calculates the dynamic midpoint of the current daily candle:

Midpoint = (Daily High + Daily Low) / 2

Features include:

A dashed horizontal ray

Customizable colour

Automatic real-time updating

A clean price label anchored to the most recent bar

This level acts as a daily mean-reversion marker, a bias filter, and a liquidity magnet often respected during NY session trading.

📌 5. “Show Only After ORB” Filtering

For traders who want ORB-centric setups, the script can automatically hide all FVGs and iFVGs that were created before the NY opening range completes.
This keeps the chart focused on intraday structure that aligns with session-specific displacement.

📌 6. Efficient Performance

Despite combining several concepts, the script remains fast and lightweight due to:

Array-based object tracking

Automatic cleanup of old zones

Adjustable lookback window

Minimal repeated calculations

This allows smooth use even on 1-minute charts with dense imbalance structure.

📌 7. Alerts

Included alert condition:

Price returned to a Fair Value Gap

This triggers on either bullish or bearish FVG revisits and supports real-time trade execution alerts.

🎯 Why This Script Exists

This indicator is not a random mashup of unrelated tools.
It was designed because traders using FVGs, iFVGs, ORB structure, and the daily 50% line often need all of these tools visible at once—and no existing indicator combines them into a single, high-performance framework.

By bringing these components together:

The ORB establishes opening structure

FVGs show initial imbalance and displacement

iFVGs reveal when inefficiencies reverse

The daily midline provides higher-time-frame context

All are displayed in one clean, coordinated visual system

This eliminates the need for 3–5 separate indicators and provides a unified and intuitive read of intraday liquidity behaviour.

🎁 Summary

This tool delivers:

A structured NY ORB framework

Automated FVG and iFVG detection

A dynamic daily midpoint with a live price label

Optional ORB-based filtering

Highly customizable visuals

Clean performance-tuned logic

Real-time alerting

It’s ideal for traders who rely on ICT/SMC concepts, liquidity-based analysis, and intraday NY session strategies—and who want everything they need in one organized indicator.

What's new? Added price label to 50% line.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.