Alien Algorithms logo
Alien_Algorithms
Institutional Imbalance FrameworkLiquidation Heatmap
Pricing
Pine3D Visual EngineNeuraLib ML Runtime
Order Flow AnalysisFair Value GapsOrder BlocksMarket StructureLiquidity Engineering
OrderFlow Tools
Alien Algorithms logoALIEN_ALGORITHMS

TradingView market-structure systems and open-source Pine Script infrastructure for order flow, fair value gaps, order blocks, liquidity, and advanced chart research.

Copyright 2026 Alien Algorithms. Trading tools are analytical software, not financial advice.

Terms, Privacy, and Refund Policy

Community

DiscordJoin the community, get support and share your experience
Founder on XFollow Hawk_FinanceTradingViewAlien_Algorithms published scripts

Products

Institutional Imbalance FrameworkLiquidation HeatmapNeuraLibPine3D

Guides

Order Flow AnalysisFair Value GapsOrder BlocksMarket StructureLiquidity Engineering
TradingView Order Flow Framework

Institutional
Imbalance
Framework

A premium TradingView indicator for fair value gaps, order blocks, liquidity rows, CVMI imbalance pressure, and structured alert workflows.

Built for traders who already read market structure and want pressure, mitigation, liquidity, sweeps, exhaustion, failure states, and JSON webhook alerts on one clean chart.

Start free trial
FVG, order block, liquidity, and alert confluence
BTCUSD Perp [12H]
LIVE

Flagship BTC 12H showcase highlighting multi-timeframe order blocks and spatial liquidity voids.

CVMI
Pressure model
SOMM
Mitigation engine
Matrix
Liquidity dashboard

THE INTERDEPENDENT ARCHITECTURE

"Three standalone powerhouses, designed to reinforce one another as a single cognitive trading engine."

Traditional setups force you to read support levels, fair value gaps, order blocks, and volume context in isolation. The Institutional Imbalance Framework removes that clutter. CVMI quantifies unresolved displacement pressure, SOMM maps the mitigation lifecycle of HTF blocks, and the Liquidity Matrix shows where active and filled structural volume sits.

PILLAR 01

CVMI Pressure

Quantifies the unresolved volumetric displacement and scores reversion extremes.

Feeds into SOMM Exhaustion ->
PILLAR 02

SOMM Lifecycle

Dissects HTF block wicks to calculate real-time gap fill percentages.

Triggers Confluence Engine ->
PILLAR 03

Liquidity Matrix

Maps resting stopped volume and active gap ranges pro-rata beside candles.

Displays Draw Targets ->

Cumulative Volumetric
Market Imbalance (CVMI)

CVMI tracks unresolved market displacement so traders can read imbalance pressure before a zone fully closes or fades from the chart.

Volumetric Mitigation Decay

Instead of relying on rigid, full visual gap closures, CVMI unwinds dynamically using opposing-side trading volume as a proxy. This helps identify rebalancing before price fully fills the structural gap on the chart.

Institutional Displacement

Forms with dense participation, strong absorption, and clear structural sponsorship. This movement is treated as durable, contributing minimally to CVMI mean-reversion pressure.

Retail Expansion Flow

Characterized by vacuum-style expansion and aggressive one-sided chasing through thin liquidity. Highly unstable, triggering heavy CVMI buildup and immediate structural mean-reversion risk.

Technical Configuration Matrix:

Modes of Operation:
  • -Spatio-Volumetric: Candle-shape order flow approximations (Default).
  • -Footprint Mode: Granular tape analysis (Requires TV Premium).
  • -Spatial Mode: Pure price structure fallback (Volume-less symbols).
Display Formats:
  • -Normalized (ADN): Anchors volumetric data on an Adaptive scale of 0-100 to pinpoint exhaustion zones.
  • -Raw Continuous Feed: Designed for advanced analysts who want to monitor continuous cumulative delta without normalization boundary-dragging.
CVMI Mean Reversion Gauge
Simulation on Synthetic Data
SOMM Mitigation Engine
0% / DETECTION
HTF SCANINTERNAL GAP DISSECTION: LIVE

Structural Order Block
Mitigation Mechanism (SOMM)

SOMM detects HTF order blocks and dissects their internal LTF fair value gaps for volume-aware mitigation tracking.

01

Detection Phase

Adaptive HTF selectors monitor displacement candles forming classic 3-bar fair value gaps. Multi-level filtering uses consecutive gap counts, minimum widths, and spatial proximity to qualify structurally valid blocks.

02

Mitigation Phase

The engine maps every LTF FVG contained within the order block price boundaries. As price revisits, each gap is neutralized independently, updating the aggregate mitigation percentage in real time. Full mitigation is confirmed only when all internal gaps are satisfied.

03

Failure & Retirement

Each block carries a specific structural invalidation distance. If price prints a confirmed close beyond this maximum distance, the block retires instantly, notifying the user that the institutional block has failed.

SOMM Embedded Signal Hooks:
01 // Block Exhaustion

Fires when the active HTF block mitigation reaches the configured target fill threshold concurrently with normalized CVMI reaching overbought/oversold extremes.

02 // Block Sweep

Triggers instantly when a wick sweeps past the block's outer limit, reclaims the zone structurally, and prints a close back inside within the designated candle cushion.

Liquidity Matrix

A live, forward-projected liquidity dashboard plotted directly alongside candles to visualize price-specific clusters of structural transaction volume.

Active Volume Column

Calculates potential structural volume. Plotted on the left, it identifies where untested historical clusters are concentrated and still relevant to price.

Filled Volume Column

Highlights absorbed and completely resolved transaction volume. Plotted on the right, it maps the exact mitigation and structural efficiency of historical price rows.

Dual Sourcing Configurations:

Imbalances Mode

Extracts details directly from the active FVG origin pool. Outstanding gap volume is distributed pro-rata across active prices. Values dynamically scale down on partial fills.

Pivot Mode

Extracts details from qualified macro and minor pivot highs/lows. Highlights untapped stops and liquidations in the Active column and swept orders in the Filled column.

Live Orderflow Dashboard
ACTIVEFILLED
154.2 M
40.3 M
108.1 M
131.6 M
255.4 M
105.9 M
89.6 M
57.7 M
247.0 M
128.5 M
100.1 M
137.2 M
196.7 M
99.9 M
158.1 M
51.4 M
104.8 M
65.5 M
228.0 M
95.6 M
184.1 M
115.1 M
154.8 M
115.5 M
202.0 M
135.4 M
119.6 M
92.6 M
150.4 M
133.0 M
120.9 M
109.7 M
175.1 M
121.9 M
124.2 M
52.2 M
190.1 M
140.6 M
195.5 M
159.2 M
81.2 M
88.1 M
134.3 M
106.3 M
191.4 M
84.5 M
136.5 M
102.9 M
217.9 M
127.7 M
249.7 M
92.8 M
134.6 M
122.9 M
183.3 M
64.7 M
157.4 M
85.2 M
192.6 M
59.0 M
LEFT: ACTIVE POTENTIALRIGHT: FILLED ABSORBED

INTELLIGENCE & AUTOMATION

Chart Context Meets Automation

Seamlessly monitor active directional bias, scan compression breakouts, and configure JSON alert routing in one unified environment.

CONFLUENCE ENGINE

Compound Alert Logic
for Automation

The Confluence Engine is the framework's programmable decision layer. Instead of firing a signal from one isolated event, it combines trigger events, structural criteria, confirmations, and invalidations into a clean alert condition. When the rule resolves, the chart prints a confluence marker and the Alert Suite can emit a structured JSON payload to webhook-based automation.

Event Sources

OB created, tapped, mitigated, Exhaustion, Sweep, Failure, Squeeze, Shift Detected, Shift Broken, and Trend Change.

Criteria Stack

CVMI state, order block direction, mitigation percentage, session context, confirmation event, invalidation event, and timeout windows.

CONFLUENCE_ENGINE_WEBHOOK.json
Webhook Ready
{
  "event": "NY Bullish Rebalance",
  "ticker": "BTCUSD.P",
  "exchange": "BINANCE",
  "tf": "720",
  "htf": "1W",
  "osc": 18.5,
  "time": 1779246306000
}
01 / Trigger

Start From Real Event

Arm a rule from an OB tap, mitigation, squeeze, sweep, or structural shift.

02 / Filter

Require Context

Layer CVMI, mitigation thresholds, trend state, and session filters.

03 / Automate

JSON Webhooks

Emit flat payloads into downstream execution or routing systems.

STANDARD OPERATING PROCEDURE

How to Use the
Framework

The framework is built to visually filter chaotic market noise, isolating price-action zones where displacement is exhausted and structured reversal candidates can form. A standard rebalancing routine follows these consecutive analytical stages:

SCAN MATRIX
AUDIT SOMM
CONFIRM CVMI
ROUTE ALERT
Analytical Precaution

Use signal wicks, sweep indicators, and shift lines strictly as context at qualified locations, rather than simple, unvalidated blind execution triggers.

Stage
01
Stage 01 // Spatial Scanning

Identify the Draw on Liquidity

Scan the Liquidity Matrix to identify high-density, untested active volume clusters sitting beside thin, resolved structural gaps. This isolates the primary draw target for potential structural rebalancing.

Stage
02
Stage 02 // Structural Audit

Gauge Structural Alignment

Use the floating Trend Panel to check the macro momentum environment. Cross-check this with SOMM active order block limits and mitigation percentages to ensure you are looking at valid, non-expired structural zones.

Stage
03
Stage 03 // Volumetric Confirmation

Confirm with CVMI Extremes

As price wicks enter the target order block boundary, verify that the CVMI pressure gauge has reached a normalized extreme overbought or oversold reading, such as below 20 or above 80. This confirms displacement exhaustion.

Stage
04
Stage 04 // Signal Synthesis

Synthesize and Execute

Watch for direct Exhaustion, Sweep, or Shifts labels to stamp the chart, summarizing structural location and oscillator compression. Alternatively, let your Confluence Engine pass the JSON alert to execution algorithms.

The sequence is intentionally modular: each step can be read visually, then escalated into Confluence Engine automation when the same evidence stack repeats.
REPAINT-PROOF ENGINEERING

Designed to run completely repaint-free. All key metrics, sweeps, and block calculations are calculated and sealed on confirmed bar closes, ensuring identical behavior in historical backtests and real-time execution (with the exception of experimental real-time Footprint Mode). Drawings are color-coded in real-time during unconfirmed periods to give instant intuitive feedback on active price behavior.

ALGORITHMIC PERFORMANCE

Engineered with performance guardrails to fit within TradingView's strict CPU cycles. Bounded histories and optimized visual drawing buffers guarantee lag-free operation across high-volatility intra-day timeframes, maintaining clean, unmitigated chart environments without screen lag.

INSTANT ALGORITHMIC DEPLOYMENT

Upgrade Your Execution
Follow Institutional Orderflow

Get TradingView access to the Institutional Imbalance Framework. Test CVMI pressure, SOMM order block mitigation, the Liquidity Matrix, and structured webhook alerts on your own charts.

Try for Free

Quant conceptualized and built by Alien_Algorithms.