OPEN-SOURCE SCRIPT
Meridian Liquidity Ledger [JOAT]

Meridian Liquidity Ledger [JOAT]
Introduction
Meridian Liquidity Ledger is an open-source Pine Script v6 indicator that maps directional liquidity shelves across a rolling price window. It separates buy-side and sell-side volume concentration, ranks shelves by relative participation strength, extends the most relevant levels through the chart, and summarizes the current liquidity ledger in an institutional-style dashboard.
The problem this indicator solves is density. A standard volume profile can show where volume accumulated, but it often does not express directional participation clearly enough for traders who want to know whether the market built more inventory above or below a reference anchor. Meridian Liquidity Ledger addresses that by classifying shelves relative to an adaptive reference price and showing whether each shelf behaves more like a buy shelf or a sell shelf.
The script is intended for traders who think in terms of inventory, acceptance, and liquidity stacking. It does not try to replace execution logic. It provides a map of where volume concentrated across the rolling ledger window, where the point of control sits, how dominant the buy-side and sell-side shares are, and how far price has stretched from the anchor and point of control in ATR terms.
Because the heavy rendering happens only on the last visible bar, the indicator aims to deliver rich visual output without turning into an unreadable chart wall. Historical shelf zones, profile bars, dotted spines, the point of control extension, and the dashboard all work together to make the liquidity map readable rather than overwhelming.

Core Concepts
1. Adaptive Reference Price
At the center of the ledger is a reference engine built from an EMA and a deviation adjustment. The script can use a plain EMA reference or a slight adaptive band depending on the user setting.
Pine Script®
This reference acts as the ledger divider. Shelves above the reference are treated as sell-side inventory zones. Shelves below the reference are treated as buy-side inventory zones.
2. Rolling Price-Volume Binning
The script scans a configurable lookback window, divides the full price range into bins, and accumulates total, buy-side, and sell-side volume in each bin. This creates the ledger foundation.
Instead of looking only at price touches, the indicator asks where actual traded volume concentrated across the window. That gives each shelf more meaning than a simple horizontal line.
3. Shelf Strength Ranking
Each bin’s relative strength is measured as a percentage of the maximum bin volume in the window. Only shelves above the minimum strength threshold are rendered. That keeps weak background noise from cluttering the chart.
This is important because the point of the ledger is not to show every possible micro shelf. It is to show the shelves that stood out meaningfully within the chosen lookback.
4. Shelf History And Spine Extension
For each active shelf, the script estimates how far left the midpoint price was last crossed, then draws a historical zone, a profile bar on the right, and an optional dotted spine through the shelf midpoint. This creates both historical and forward reference in a single visual package.
The effect is similar to having a compressed split-profile, a shelf map, and a point-of-interest extension all in one indicator.
5. Point Of Control And Ledger Balance
The point of control is the strongest single shelf in the active ledger. The script can extend that level to the right and label it. At the same time, the dashboard tracks buy share, sell share, total imbalance, top-shelf concentration, and ATR distance to both the reference and the point of control.
This makes the ledger useful not just visually but quantitatively.

Features
Visual Elements
Best Practices
Input Parameters
Ledger Window:
Reference Engine:
Shelf Filters And Display:
How to Use This Indicator
Step 1: Start With Buy Share, Sell Share, And Imbalance
The dashboard tells you how the rolling ledger is currently distributed. If buy share dominates, the ledger is skewed below or through the anchor in a way that favors buy-side participation. If sell share dominates, the opposite is true.
Step 2: Locate The Point Of Control
Find the extended POC line. This is the strongest shelf in the current window. It often acts as the most important reference price when judging whether the market is balanced, stretched, or returning to its highest concentration zone.
Step 3: Compare Price To The Reference Anchor
The reference and its surrounding bands tell you whether price is trading above, below, or far away from the ledger center. This is useful for deciding whether the market is exploring beyond inventory or still trading within its main concentration zone.
Step 4: Focus On The Strongest Shelves
The most useful shelves are usually the ones with the greatest width, clearest labels, and strongest color intensity. Those are the bins where the rolling window concentrated the most inventory.
Step 5: Use The Ledger As A Context Map
Meridian Liquidity Ledger is best used as a map of where liquidity stacked and how it is distributed. Pair it with your own entry logic rather than treating any single shelf as an automatic trade signal.
Indicator Limitations
Originality Statement
Meridian Liquidity Ledger is original in the way it turns a rolling bin-based volume map into a directional liquidity shelf system with adaptive anchoring. It is not a generic profile overlay:
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Liquidity shelves and point-of-control levels are descriptive references built from rolling historical data. They do not guarantee future support, resistance, or directional continuation. Always use independent judgment and proper risk management.
-Made with passion by jackofalltrades
Introduction
Meridian Liquidity Ledger is an open-source Pine Script v6 indicator that maps directional liquidity shelves across a rolling price window. It separates buy-side and sell-side volume concentration, ranks shelves by relative participation strength, extends the most relevant levels through the chart, and summarizes the current liquidity ledger in an institutional-style dashboard.
The problem this indicator solves is density. A standard volume profile can show where volume accumulated, but it often does not express directional participation clearly enough for traders who want to know whether the market built more inventory above or below a reference anchor. Meridian Liquidity Ledger addresses that by classifying shelves relative to an adaptive reference price and showing whether each shelf behaves more like a buy shelf or a sell shelf.
The script is intended for traders who think in terms of inventory, acceptance, and liquidity stacking. It does not try to replace execution logic. It provides a map of where volume concentrated across the rolling ledger window, where the point of control sits, how dominant the buy-side and sell-side shares are, and how far price has stretched from the anchor and point of control in ATR terms.
Because the heavy rendering happens only on the last visible bar, the indicator aims to deliver rich visual output without turning into an unreadable chart wall. Historical shelf zones, profile bars, dotted spines, the point of control extension, and the dashboard all work together to make the liquidity map readable rather than overwhelming.
Core Concepts
1. Adaptive Reference Price
At the center of the ledger is a reference engine built from an EMA and a deviation adjustment. The script can use a plain EMA reference or a slight adaptive band depending on the user setting.
This reference acts as the ledger divider. Shelves above the reference are treated as sell-side inventory zones. Shelves below the reference are treated as buy-side inventory zones.
2. Rolling Price-Volume Binning
The script scans a configurable lookback window, divides the full price range into bins, and accumulates total, buy-side, and sell-side volume in each bin. This creates the ledger foundation.
Instead of looking only at price touches, the indicator asks where actual traded volume concentrated across the window. That gives each shelf more meaning than a simple horizontal line.
3. Shelf Strength Ranking
Each bin’s relative strength is measured as a percentage of the maximum bin volume in the window. Only shelves above the minimum strength threshold are rendered. That keeps weak background noise from cluttering the chart.
This is important because the point of the ledger is not to show every possible micro shelf. It is to show the shelves that stood out meaningfully within the chosen lookback.
4. Shelf History And Spine Extension
For each active shelf, the script estimates how far left the midpoint price was last crossed, then draws a historical zone, a profile bar on the right, and an optional dotted spine through the shelf midpoint. This creates both historical and forward reference in a single visual package.
The effect is similar to having a compressed split-profile, a shelf map, and a point-of-interest extension all in one indicator.
5. Point Of Control And Ledger Balance
The point of control is the strongest single shelf in the active ledger. The script can extend that level to the right and label it. At the same time, the dashboard tracks buy share, sell share, total imbalance, top-shelf concentration, and ATR distance to both the reference and the point of control.
This makes the ledger useful not just visually but quantitatively.
Features
- Directional liquidity shelves: Separates bins into buy-side and sell-side inventory relative to the reference anchor
- Adaptive reference engine: Uses EMA and deviation bias to frame the ledger around a contextual central price
- Rolling volume ledger: Accumulates total, buy, and sell participation across a user-defined window
- Shelf strength filter: Displays only bins strong enough to matter
- Historical shelf zones: Shows where active shelves projected through the recent chart history
- Profile bars on the right edge: Renders compact shelf bars for immediate strength comparison
- Shelf spines: Optional dotted lines extend each shelf midpoint through the chart
- Point-of-control extension: Marks and extends the strongest shelf in the current ledger
- Institutional dashboard: Displays buy share, sell share, imbalance, POC, concentration, shelf count, and ATR distance metrics
- Confirmed-bar alerts: Includes buy dominance, sell dominance, and anchor stretch conditions
Visual Elements
- Historical shelf zones: These show where strong bins projected back through the active ledger window
- Right-edge profile bars: Compact bars make it easy to compare shelf strength without reading every label
- Shelf spines: Optional dotted midpoint lines extend the key shelf levels through the chart
- Anchor bands: Inner and outer reference bands help frame whether price is balanced or stretched
- POC label and extension: The strongest shelf remains visible as the primary ledger reference
Best Practices
- Use the ledger to frame where inventory is concentrated before applying your own execution logic
- Watch the relationship between price, the anchor, and the point of control to judge balance versus stretch
- Favor shelves that remain visually dominant even as the rolling window updates
- Remember that shelf color and position are contextual to the current anchor, not absolute predictions of support or resistance
- Use the buy-share and sell-share readings to understand ledger skew before reacting to a single shelf in isolation
Input Parameters
Ledger Window:
- Lookback Bars: Sets the rolling history used to build the ledger
- Bin Count: Controls the price segmentation granularity
- Profile Width: Controls the maximum width of the profile bars on the right
- Shelf Padding: Adjusts the spacing between price and the right-edge profile
Reference Engine:
- Reference EMA Length: Sets the central EMA anchor
- Deviation Length: Controls the standard-deviation calculation for adaptive biasing
- Reference Bias: Scales the adaptive offset around the EMA
- Use Adaptive Anchor Band: Chooses between the synthetic anchor and plain EMA reference
Shelf Filters And Display:
- Minimum Shelf Strength %: Removes shelves below the selected threshold
- Show Historical Shelf Zones: Toggles the historical box layer
- Extend Point Of Control: Projects the strongest shelf forward
- Show Shelf Spines: Enables midpoint extension lines
- Show Dashboard: Enables the top-right ledger panel
How to Use This Indicator
Step 1: Start With Buy Share, Sell Share, And Imbalance
The dashboard tells you how the rolling ledger is currently distributed. If buy share dominates, the ledger is skewed below or through the anchor in a way that favors buy-side participation. If sell share dominates, the opposite is true.
Step 2: Locate The Point Of Control
Find the extended POC line. This is the strongest shelf in the current window. It often acts as the most important reference price when judging whether the market is balanced, stretched, or returning to its highest concentration zone.
Step 3: Compare Price To The Reference Anchor
The reference and its surrounding bands tell you whether price is trading above, below, or far away from the ledger center. This is useful for deciding whether the market is exploring beyond inventory or still trading within its main concentration zone.
Step 4: Focus On The Strongest Shelves
The most useful shelves are usually the ones with the greatest width, clearest labels, and strongest color intensity. Those are the bins where the rolling window concentrated the most inventory.
Step 5: Use The Ledger As A Context Map
Meridian Liquidity Ledger is best used as a map of where liquidity stacked and how it is distributed. Pair it with your own entry logic rather than treating any single shelf as an automatic trade signal.
Indicator Limitations
- The ledger is rolling-window dependent, so shelf hierarchy can change as older bars leave the calculation window
- A strong shelf does not guarantee support or resistance will hold on the next interaction
- Directional buy and sell classification is based on bar-level bullish versus bearish volume attribution, which is an approximation rather than true order-flow data
- On illiquid symbols or very small windows, shelf concentration can become unstable and less informative
Originality Statement
Meridian Liquidity Ledger is original in the way it turns a rolling bin-based volume map into a directional liquidity shelf system with adaptive anchoring. It is not a generic profile overlay:
- It separates buy-side and sell-side participation relative to an adaptive reference rather than showing only total profile mass
- It combines historical shelf zones, right-edge shelf bars, shelf spines, and POC extension in one integrated view
- It frames liquidity through dashboard metrics such as imbalance, concentration, and ATR stretch rather than pure histogram display
- It creates a practical shelf map for context instead of relying on a single profile style or one static reference
Disclaimer
This indicator is provided for educational and informational purposes only. It is not financial advice or a recommendation to buy or sell any financial instrument. Liquidity shelves and point-of-control levels are descriptive references built from rolling historical data. They do not guarantee future support, resistance, or directional continuation. Always use independent judgment and proper risk management.
-Made with passion by jackofalltrades
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
The AI Trading Ecosystem, Built to win trades 📈
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Full Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.