Institutional Order Block & Liquidity Sweeps Indicator
100% Free Indicator
Platform both
Repainting Zero (Confirmed)
Timeframes M1 to Daily
Instruments Forex, Crypto, Gold
TradingView Pine Script (v5) MetaTrader 5 (.ex5/.mq5)

Institutional Order Block & Liquidity Sweeps Indicator

Pinpoint institutional order blocks (OB) and buy/sell-side liquidity sweeps before massive market expansion moves.

Access Price
100% FREE No Subscription
★ 4.9 (Verified)
Direct access — zero checkout friction or card required
Includes complete Pine Script v5 open source & setup guide

TradingView Pine Script (v5) Source Code

Copy and paste this code directly into your TradingView Pine Editor

//@version=5
indicator("FxSnip - Institutional Order Blocks", "FxSnip Order Blocks", overlay=true, max_boxes_count=300)

length = input.int(10, "Order Block Lookback Period")
bullOBColor = input.color(color.new(color.blue, 75), "Bullish Order Block")
bearOBColor = input.color(color.new(color.purple, 75), "Bearish Order Block")

isImpulseUp = close > open and (close - open) > ta.atr(14) * 1.5
isImpulseDown = close < open and (open - close) > ta.atr(14) * 1.5

if isImpulseUp and close[1] < open[1]
    box.new(left=bar_index-1, top=high[1], right=bar_index+15, bottom=low[1], bgcolor=bullOBColor, border_color=color.blue)

if isImpulseDown and close[1] > open[1]
    box.new(left=bar_index-1, top=high[1], right=bar_index+15, bottom=low[1], bgcolor=bearOBColor, border_color=color.purple)
1

How to Add to TradingView

  1. Click the "Copy Pine Script (v5)" button above.
  2. Open your chart on TradingView.com.
  3. Click the Pine Editor tab at the very bottom bar.
  4. Select and delete any default code, paste this script, and click "Save" → "Add to Chart".
2

How to Install in MetaTrader 5 (MT5)

  1. Click "Download MT5 Indicator" to save the .ex5 / .mq5 file.
  2. In MT5, click top menu File > Open Data Folder.
  3. Navigate to MQL5 > Indicators folder and paste the file.
  4. In MT5 Navigator window, right-click Indicators > Refresh, then drag it onto your chart.

Key Features & Algorithmic Logic

  • Validated Order Block detection with volume filtering
  • Liquidity sweep arrow markers on false breakouts
  • Refined zones for precision limit order placement
  • Compatible with all MT5 brokers and TradingView

Indicator Overview

The Order Block & Liquidity Sweeps Indicator tracks where institutional participants absorb retail liquidity. It marks the last opposing candle prior to a strong impulsive break, creating validated Order Block reaction zones.

Recommended Settings

Best Timeframes: M5, M15, H1, H4
Pairs / Assets: EURUSD, GBPUSD, XAUUSD, BTC
Confirmation Rule: On Bar Close
Alerts: Push, Sound, Webhook

Need Custom Modifications?

Need this indicator converted into an automated MT5 Expert Advisor or customized for your specific trading rules?

Order Custom Coding →
TX

Loading activity...

Just now