OPEN-SOURCE SCRIPT
Vesper Structure Ledger [JOAT]

Vesper Structure Ledger [JOAT]
Introduction
Vesper Structure Ledger is an open-source market structure indicator built around KAMA trend context, pivot-based BOS and CHoCH events, liquidity sweeps, equal high/low probes, premium/discount zones, demand/supply boxes, right-side structural rails, managed signal boxes, and a top-right dashboard.
The script is intended to make structure easier to read without relying on arrows or cluttered labels. It distinguishes continuation structure from potential character shifts, then adds trend, impulse, volume, and higher-timeframe context before qualifying stronger events.

Core Concepts
1. KAMA Trend Core
The KAMA engine uses an efficiency ratio to adapt smoothing. When price moves efficiently, the trend line responds faster. In noisy conditions, it slows down and reduces whipsaw sensitivity.
2. Pivot Structure Memory
Confirmed pivot highs and lows are stored as structural references. These levels become the next possible break points for BOS or CHoCH events.
Pine Script®
3. BOS vs CHoCH
A Break of Structure confirms continuation in the current structural direction. A Change of Character marks a break against that direction and can signal a potential shift. Vesper also tracks BOS counts before allowing some character changes to carry more weight.
4. Sweeps and Equal Levels
Liquidity sweeps occur when price probes beyond a swing level and closes back through it. Equal high and equal low probes mark nearby repeated liquidity levels.
5. Demand/Supply and Managed Structure Map
Confirmed qualified signals can create demand or supply zones and a managed visual box with entry, invalidation, and target levels. These levels are for context and planning only.
Features
Input Parameters
Trend Core:
Structure Core:
Liquidity Core:
How to Use This Indicator
Step 1: Read trend context
Use KAMA and the dashboard trend row to understand whether price is above or below the adaptive trend.
Step 2: Watch BOS and CHoCH
BOS events suggest continuation. CHoCH events warn that character may be changing.
Step 3: Mark liquidity
Sweeps and equal-level probes identify areas where price has tested or reclaimed liquidity.
Step 4: Use zones as references
Demand/supply boxes and right-side rails help frame current structure. They are not automatic entries.
Indicator Limitations
Originality Statement
Vesper Structure Ledger combines adaptive KAMA trend state, pivot structure, BOS/CHoCH classification, BOS-count context, sweep logic, equal-level probes, premium/discount mapping, projected demand/supply boxes, and managed structure rails in one open-source Pine v6 tool. The purpose is to create a cohesive structure ledger, not a collection of unrelated labels.
Disclaimer
This script is for educational and informational use only. It is not financial advice and does not predict future market behavior. Always use independent analysis and risk management.
-Made with passion by jackofalltrades
Introduction
Vesper Structure Ledger is an open-source market structure indicator built around KAMA trend context, pivot-based BOS and CHoCH events, liquidity sweeps, equal high/low probes, premium/discount zones, demand/supply boxes, right-side structural rails, managed signal boxes, and a top-right dashboard.
The script is intended to make structure easier to read without relying on arrows or cluttered labels. It distinguishes continuation structure from potential character shifts, then adds trend, impulse, volume, and higher-timeframe context before qualifying stronger events.
Core Concepts
1. KAMA Trend Core
The KAMA engine uses an efficiency ratio to adapt smoothing. When price moves efficiently, the trend line responds faster. In noisy conditions, it slows down and reduces whipsaw sensitivity.
2. Pivot Structure Memory
Confirmed pivot highs and lows are stored as structural references. These levels become the next possible break points for BOS or CHoCH events.
3. BOS vs CHoCH
A Break of Structure confirms continuation in the current structural direction. A Change of Character marks a break against that direction and can signal a potential shift. Vesper also tracks BOS counts before allowing some character changes to carry more weight.
4. Sweeps and Equal Levels
Liquidity sweeps occur when price probes beyond a swing level and closes back through it. Equal high and equal low probes mark nearby repeated liquidity levels.
5. Demand/Supply and Managed Structure Map
Confirmed qualified signals can create demand or supply zones and a managed visual box with entry, invalidation, and target levels. These levels are for context and planning only.
Features
- Adaptive KAMA trend line: Efficiency-ratio smoothing for trend context
- BOS and CHoCH logic: Separates continuation breaks from possible character shifts
- BOS-count gating: Adds context before stronger reversal interpretation
- Liquidity sweeps: Detects confirmed wick-and-reclaim events around swing levels
- Equal high/low probes: Marks repeated nearby liquidity levels
- Premium/discount fill: Shows position inside the recent structure range
- Demand and supply boxes: Projects reaction zones from qualified structure
- Right-side rails: Labels KAMA, swing high, swing low, and equilibrium
- Managed signal box: Displays entry, invalidation, and target levels
- Top-right dashboard: Shows trend, KAMA, slope, structure, BOS count, sweep, equal level, context, impulse, targets, and state
Input Parameters
Trend Core:
- KAMA Length
- Fast Period
- Slow Period
- Source
Structure Core:
- Pivot Left and Pivot Right
- Structure Objects
- Show BOS
- Show CHoCH
- Show Target Lines
Liquidity Core:
- Show Liquidity Sweeps
- Sweep Lookback
- Sweep Buffer ATR
- Show Equal Levels
How to Use This Indicator
Step 1: Read trend context
Use KAMA and the dashboard trend row to understand whether price is above or below the adaptive trend.
Step 2: Watch BOS and CHoCH
BOS events suggest continuation. CHoCH events warn that character may be changing.
Step 3: Mark liquidity
Sweeps and equal-level probes identify areas where price has tested or reclaimed liquidity.
Step 4: Use zones as references
Demand/supply boxes and right-side rails help frame current structure. They are not automatic entries.
Indicator Limitations
- Pivot-based structure confirms after the right-side pivot window completes
- CHoCH events can fail in strong continuation markets
- Sweeps require confirmed closes and may appear after the wick forms
- Zone boxes are contextual references, not assurances of support or resistance
Originality Statement
Vesper Structure Ledger combines adaptive KAMA trend state, pivot structure, BOS/CHoCH classification, BOS-count context, sweep logic, equal-level probes, premium/discount mapping, projected demand/supply boxes, and managed structure rails in one open-source Pine v6 tool. The purpose is to create a cohesive structure ledger, not a collection of unrelated labels.
Disclaimer
This script is for educational and informational use only. It is not financial advice and does not predict future market behavior. Always use independent analysis and risk management.
-Made with passion by jackofalltrades
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
The Institutional Grade Trading Ecosystem, Built to win trades 📈
Get Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.
Skrip open-source
Dengan semangat TradingView yang sesungguhnya, pembuat skrip ini telah menjadikannya sebagai sumber terbuka, sehingga para trader dapat meninjau dan memverifikasi fungsinya. Salut untuk penulisnya! Meskipun Anda dapat menggunakannya secara gratis, perlu diingat bahwa penerbitan ulang kode ini tunduk pada Tata Tertib kami.
The Institutional Grade Trading Ecosystem, Built to win trades 📈
Get Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Get Access 👇
jackofalltrades.vip 🌐
t.me/jackofalltradesvip 🃏
Pernyataan Penyangkalan
Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.