OPEN-SOURCE SCRIPT

Aegis Liquidity Ledger [JOAT]

784
Aegis Liquidity Ledger [JOAT]

Introduction

Aegis Liquidity Ledger is an open-source liquidity pressure indicator built to answer a specific execution question:

Where is directional pressure being sourced, and where has that pressure already left behind a meaningful area of interest?

The script approaches that problem through two linked components:

  • a volatility-normalized pressure oscillator
  • shelf detection and origin-zone mapping


The oscillator explains whether participation is pushing in a bullish or bearish direction.

The shelf and origin logic explains where that pressure emerged from.

This separation is intentional.

It gives traders both the why and the where without forcing everything into a single overlay object.

snapshot

Core Concepts

1. Composite Pressure Engine

The script blends multiple rate-of-change windows into one composite pressure signal.

Short-term impulse and slower campaign participation are both included so the output does not depend on a single lookback length.

2. Volatility-Normalized Thresholds

The pressure signal is measured against its own recent standard deviation rather than a fixed threshold.

This allows the expansion bands to adapt to the instrument and timeframe being viewed.

3. Shelf Detection

The script scans for repeated upper and lower interactions using body extremes and wick touches.

That makes the shelf logic more sensitive to areas where liquidity may have repeatedly rested.

4. Expansion Origin Zones

When pressure transitions through an adaptive bound on a confirmed bar, the script creates a source zone around the origin candle that preceded the release.

This zone remains relevant until price fully accepts through it.

5. Mitigation Logic

Shelves are not removed immediately.

They remain live until price fully accepts through the opposite side of the zone, after which they are visually de-emphasized as mitigated.

snapshot

Features

  • Four-window pressure model: fast, medium, slow, and macro ROC blended together
  • Pressure smoothing: EMA smoothing controls oscillator responsiveness
  • Adaptive expansion thresholds: thresholds scale with recent pressure volatility
  • Normalized oscillator: pane output compresses pressure into an interpretable range
  • Demand and supply shelves: persistent shelf zones are drawn directly on the chart
  • Origin-zone logic: shelf creation is tied to confirmed expansion events
  • Touch and intensity tracking: shelf labels summarize interaction count and density
  • Mitigation state: zones are visually softened after full acceptance through them
  • Pressure-based candle coloring: optional chart bars reflect dominant liquidity pressure
  • Institutional dashboard: dashboard summarizes pressure, compression, shelf dominance, and state


Input Parameters

Pressure Engine
  • Fast ROC
  • Medium ROC
  • Slow ROC
  • Macro ROC
  • Pressure Smoothing
  • Expansion Threshold Multiplier


Liquidity Shelves
  • Shelf Window
  • Shelf Width ATR
  • Max Live Shelves Per Side
  • Show Expansion Origin Zones
  • Show Shelf Labels


Display
  • Show Pressure Fill
  • Show Expansion Glow
  • Show Zero Line
  • Color Candles By Pressure
  • Dashboard Position
  • Dashboard Size


How to Use This Indicator

Step 1: Read Pressure Before Reading Shelves

Start in the pane.

If the pressure engine is neutral or compressed, shelf interactions are more likely to behave as reaction zones than true continuation sources.

Step 2: Watch for Confirmed Expansion

New shelves matter most when they are created by a confirmed expansion through the adaptive threshold.

That is the moment the script treats the move as meaningful enough to register an origin.

Step 3: Distinguish Live From Mitigated Zones

Fresh shelves are stronger contextual references than mitigated shelves.

Once a zone has been fully accepted through, it should be treated as reduced context rather than untouched inventory.

Step 4: Compare Upper and Lower Density

The interaction counts and intensity values help frame whether the instrument has built more meaningful supply or demand shelves in the current environment.

Step 5: Combine With Structure

Aegis Liquidity Ledger is not a standalone regime classifier.

It works best beside structure or session tools that explain the broader context around the pressure source.

Indicator Limitations

  • Liquidity shelves are inferred from price behavior, not from direct order book or market-by-order data
  • Aggressive settings can create more shelves than slower traders may want to track
  • Pressure normalization adapts to the instrument, but abrupt volatility shocks can still distort thresholds temporarily
  • A shelf is an area of contextual interest, not a guarantee of reversal or continuation


Originality Statement

Aegis Liquidity Ledger is structured around the relationship between a normalized pressure oscillator and persistent source-zone shelves.

Its design emphasizes where pressure comes from, how dense liquidity has been on each side of price, and whether a prior source has been mitigated, rather than simply plotting another momentum line.

Disclaimer

This indicator is provided for educational and informational purposes only.

It is not a recommendation to trade and should not be interpreted as financial advice.

All shelf and pressure readings are model-based interpretations of chart data and can fail under changing market conditions.

Always use independent analysis and risk management.

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.