PROTECTED SOURCE SCRIPT
Updated

ICT Institutional Order Flow (Riz)

50
This indicator implements Inner Circle Trader (ICT) institutional order flow concepts to identify high-probability entry points where smart money is actively participating in the market. It combines volume analysis, market structure, and price action patterns to detect institutional accumulation and distribution zones.

Core Concepts & Methodology

1. Institutional Order Blocks Detection
Order blocks represent the last opposing candle before a strong directional move, indicating institutional accumulation (bullish) or distribution (bearish) zones.

How it works:
⦁ Identifies the final bearish candle before bullish expansion (accumulation)
⦁ Identifies the final bullish candle before bearish expansion (distribution)
⦁ Validates with volume spike (2x average) to confirm institutional participation
⦁ Requires minimum 0.5% price displacement to filter weak moves
⦁ Tracks these zones as future support/resistance levels

2. Fair Value Gap (FVG) Analysis
FVGs are price inefficiencies created by aggressive institutional orders that leave gaps in price action.

Detection method:
⦁ Bullish FVG: When current low > high from 2 bars ago
⦁ Bearish FVG: When current high < low from 2 bars ago
⦁ Minimum gap size filter (0.1% default) eliminates noise
⦁ Monitors gap fills with volume for entry signals
⦁ Gaps act as magnets drawing price back for "rebalancing"

3. Liquidity Hunt Detection
Institutions often trigger retail stop losses before reversing direction, creating liquidity for their positions.

Algorithm:
⦁ Calculates rolling 20-period highs/lows as liquidity pools
⦁ Detects wicks beyond these levels (0.1% sensitivity)
⦁ Identifies rejection back inside range (liquidity grab)
⦁ Volume spike confirmation ensures institutional involvement
⦁ These reversals often mark significant turning points

4. Volume Profile Integration
Analyzes volume distribution across price levels to identify institutional interest zones.

Components:
⦁ Point of Control (POC): Price level with highest volume (institutional consensus)
⦁ Value Area: 70% of volume range (institutional comfort zone)
⦁ Uses 50-bar lookback to build volume histogram
⦁ 20 price levels for granular distribution analysis

5. Market Structure Analysis
Determines overall trend bias using pivot points and swing analysis.

Process:
⦁ Identifies swing highs/lows using 3-bar pivots
⦁ Bullish structure: Price above last swing high
⦁ Bearish structure: Price below last swing high
⦁ Filters signals to trade with institutional direction

Signal Generation Logic
BUY signals trigger when ANY condition is met:
1. Order Block Formation: Bearish-to-bullish transition + volume spike + strong move
2. Liquidity Grab Reversal: Sweep below lows + recovery + volume spike
3. FVG Fill: Price fills bullish gap with institutional volume (within 3 bars)
4. Order Block Respect: Price bounces from previous bullish OB + volume

SELL signals trigger when ANY condition is met:
1. Order Block Formation: Bullish-to-bearish transition + volume spike + strong move
2. Liquidity Grab Reversal: Sweep above highs + rejection + volume spike
3. FVG Fill: Price fills bearish gap with institutional volume (within 3 bars)
4. Order Block Respect: Price rejects from previous bearish OB + volume

Additional filters:
⦁ Signals align with market structure (no counter-trend trades)
⦁ No new signals while position is active
⦁ All signals require volume confirmation (institutional fingerprint)

Trading Style Auto-Configuration
The indicator features intelligent preset configurations for different trading styles:

Scalping Mode (1-5 min charts):
⦁ Volume multiplier: 1.5x (more signals)
⦁ Tighter parameters for quick trades
⦁ Risk:Reward 1.5:1, ATR multiplier 1.0

Day Trading Mode (15-30 min charts):
⦁ Volume multiplier: 1.7x (balanced)
⦁ Medium sensitivity settings
⦁ Risk:Reward 2:1, ATR multiplier 1.5

Swing Trading Mode (1H-4H charts):
⦁ Volume multiplier: 2.0x (quality focus)
⦁ Conservative parameters
⦁ Risk:Reward 3:1, ATR multiplier 2.0

Custom Mode:
⦁ Full manual control of all parameters

Visual Components
⦁ Order Blocks: Colored rectangles (green=bullish, red=bearish)
⦁ Fair Value Gaps: Orange boxes showing imbalances
⦁ Liquidity Levels: Dashed blue lines at key highs/lows
⦁ Volume Spikes: Yellow background highlighting
⦁ POC Line: Orange line showing highest volume price
⦁ Value Area: Blue shaded zone of 70% volume
⦁ Buy/Sell Signals: Triangle markers with text labels
⦁ Stop Loss/Take Profit: Dotted lines (red/green)

Information Panel
Real-time dashboard displaying:
⦁ Current trading mode
⦁ Volume ratio (current vs average)
⦁ Market structure (bullish/bearish)
⦁ Active order blocks count
⦁ Position status
⦁ Configuration details

How to Use
Step 1: Select Trading Style
Choose your style in settings - all parameters auto-adjust

Step 2: Timeframe Selection
⦁ Scalping: 1-5 minute charts
⦁ Day Trading: 15-30 minute charts
⦁ Swing: 1H-4H charts

Step 3: Signal Interpretation
⦁ Wait for BUY/SELL markers
⦁ Check volume ratio >2 for strong signals
⦁ Verify market structure alignment
⦁ Note automatic SL/TP levels

Step 4: Risk Management
⦁ Default 2:1 risk:reward (adjustable)
⦁ Stop loss: 1.5x ATR from entry
⦁ Position sizing based on stop distance

Best Practices
1. Higher probability setups occur when multiple conditions align
2. Volume confirmation is crucial - avoid signals without volume spikes
3. Trade with structure - longs in bullish, shorts in bearish structure
4. Monitor POC - acts as dynamic support/resistance
5. Confluence zones where OBs, FVGs, and liquidity levels overlap are strongest

Important Notes
⦁ Not a standalone system - combine with your analysis
⦁ Works best in trending markets with clear structure
⦁ Adjust settings based on instrument volatility
⦁ Backtest thoroughly on your specific markets
⦁ Past performance doesn't guarantee future results

Alerts Available
⦁ ICT Buy Signal
⦁ ICT Sell Signal
⦁ Volume Spike Detection
⦁ Liquidity Grab Detection

This indicator provides a systematic approach to ICT concepts, helping traders identify where institutions are entering positions through volume analysis and key price action patterns. The auto-configuration feature ensures optimal settings for your trading style without manual adjustment.

Disclaimer
This tool is for educational and research purposes only. It is not financial advice, nor does it guarantee profitability. All trading involves risk, and users should test thoroughly before applying live.
Release Notes
Update: Added fully customizable Information Panel with 6 position options (Top/Bottom/Middle × Left/Right) and 4 size presets (Tiny to Large). Features compact mode for essential data only, customizable colors, and improved visual design with icons for better clarity. Panel dynamically displays trading mode, volume ratio, market structure, and position status with smart color coding.

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.