OPEN-SOURCE SCRIPT
Actualizado BK AK-Ghost Ladder

👻 BK AK–Ghost Ladder — FVG Zones, Volume Profile, Confluence, Lifecycle 👻
🙏 All glory to G-d.
Built with standards and discipline passed down by my mentor — thank you for the relentless insistence on structure over noise, and for sharing real knowledge with generosity — no gatekeeping, no cheapness, no games.
Update / Record
A previous version of this publication was hidden due to insufficient description. This republish is a complete explanation of what the script does, how it works, how to use it, and what its limits are.
What this script does
Ghost Ladder is an overlay indicator that detects Fair Value Gaps (FVGs) and manages them as “living” support/resistance zones. It doesn’t just draw rectangles — it tracks each zone’s behavior (touches, breaks, role flips), grades strength (0–100), optionally builds an in-zone volume profile with POC, and adds confluence layers like pivots, MTF alignment, Fibonacci proximity, delta imbalance, sessions, and divergence warnings.
The goal is not prediction — it’s structured context: which zones matter, why they matter, and how price is interacting with them now.
Core features (what you’ll see on chart)
1) FVG detection (bull + bear)
Uses classic 3-bar gap logic:
Bullish FVG: low > high[2] and gap size > ATR threshold
Bearish FVG: high < low[2] and gap size > ATR threshold
Includes timeframe-adaptive distance filters (different settings under 1H vs ≥1H).
2) Zone lifecycle management
Each zone is stored and managed over time:
Expiration by max age (bars)
Optional “reset age on touch”
Optional overlap prevention / “keep strongest”
Optional proximity rules (minimum bars between zones)
“Clean mode” display (shifts/extends boxes for cleaner viewing)
3) Strength score (0–100) + ★ rating
Each zone gets a composite Strength Score that can include:
Volume vs average (optionally using lower timeframe volume aggregation)
Gap size vs ATR
Pivot confluence count
MTF confluence (additional timeframes)
Session weighting (Asia / London / NY / overlap)
Order block + imbalance checks
VWAP proximity/extreme bonus
Fib confluence
Delta divergence
Clustering / consolidation bonus
Role reversal bonus (support flips to resistance and confirms)
The star label displays score tiers (configurable thresholds):
★★, ★★★, ★★★★, ★★★★★
4) In-zone Volume Profile + POC (optional)
For each zone, Ghost Ladder can compute a lower-TF volume profile proxy inside the zone:
Configurable bins (resolution)
POC line (most volume concentration in-zone)
Optional total zone volume label
Optional delta coloring on POC (buy vs sell pressure)
Note: this is a practical proxy using lower-TF bar volumes/close locations — it is not exchange-level true volume-at-price.
5) Smart positioning / role logic (S/R behavior)
Optional “Smart Positioning” modes:
Show All
Hide Wrong Side
Auto Role Flip (support ↔ resistance based on price location + buffer)
Role reversal tracking:
Break detection (body break optional)
Break confirmation bars
Broken-zone persistence for N bars
Reactivation badge when zone becomes relevant again
6) Real-time divergence warnings (optional)
When price is interacting with a zone, it can flag divergence/weakness conditions using:
RSI divergence thresholding
OBV divergence (optional)
ADX weak-momentum check (optional)
You can choose how it displays:
Border only / icon only / both / color change
7) Fibonacci confluence (optional)
Computes fib levels from a lookback swing (highest/lowest over period), then counts if fib levels fall inside/near a zone (tolerance %). Optional fib lines + labels (with “only current fib” cleanup).
8) Adaptive learning + backtesting (optional)
Zones can be evaluated after touches:
“Success” if price moves away by a threshold
“Failure” if price violates beyond a threshold
Tracks wins/losses per zone
Updates an adaptive weight periodically
Optional ML-style confidence badge when sample size is meaningful
This is not a machine-learning model in the academic sense — it’s a performance-based weighting and confidence heuristic.
9) Info Table (optional)
A compact “war room” table on the last bar summarizing:
Active zone counts (bull vs bear)
Current market posture (near support/resistance, above/below, neutral)
Nearest S/R levels
Bias estimate
Active session
Risk assessment
10) Alerts
Built-in alert conditions include:
Magnetic pull active (price entering magnetic range of a strong zone)
Strong bullish FVG / strong bearish FVG (high strength score)
Divergence detected while price touches a zone
How to use (simple workflow)
Start with the stars: focus on ★★★★–★★★★★ zones first.
Trade the edges, not the middle: entries are usually better at zone boundaries with defined invalidation.
Respect role flips: a broken zone that flips and confirms can become a higher-quality level than a fresh gap.
Use divergence as a brake: divergence-at-zone = reduce size, wait for confirmation, or stand down.
Let filters remove excuses: tune distance filters, minimum stars, institutional-only mode, session weighting to match your market + timeframe.
Badge / icon legend (labels)
Depending on enabled features, labels may include:
🔥 = cluster / stacked zones
🎯 = pivot confluence
⚡ = MTF confluence
📐 = fib confluence
⚠ = delta divergence / warning
🔗 = merged / consolidated
📈 = upgraded to “institutional” classification
🤖 = confidence badge (sample-size based)
🔄 = reactivated zone
Repaint / reliability notes (important)
FVG zones: detected from past bars ([2] reference) → does not require future bars.
Pivot markers: use ta.pivothigh/ta.pivotlow → pivots confirm after pivotPeriod bars. That’s normal and means pivot signals are delayed/confirmed, not “future-looking.”
Lower-TF volume profile: depends on available lower timeframe data; can be heavier and may vary slightly by broker/feed.
Scores/labels: update as new touches, breaks, and confirmations occur (expected “living” behavior).
Performance / chart limits
This script uses many drawing objects (boxes/lines/labels) and can be resource-heavy:
Reduce profile bins, disable volume profile, or increase filters if you hit object limits or slowdowns.
“Clean Mode” can simplify the on-chart clutter.
Disclaimer
This indicator is for educational and analytical purposes only. It does not provide financial advice and does not guarantee outcomes. All “institutional / smart money / confidence” terminology is heuristic scoring, not a claim of certainty.
🙏 All glory to G-d — may He bless your vision, patience, and discipline at the boundary.
🙏 All glory to G-d.
Built with standards and discipline passed down by my mentor — thank you for the relentless insistence on structure over noise, and for sharing real knowledge with generosity — no gatekeeping, no cheapness, no games.
Update / Record
A previous version of this publication was hidden due to insufficient description. This republish is a complete explanation of what the script does, how it works, how to use it, and what its limits are.
What this script does
Ghost Ladder is an overlay indicator that detects Fair Value Gaps (FVGs) and manages them as “living” support/resistance zones. It doesn’t just draw rectangles — it tracks each zone’s behavior (touches, breaks, role flips), grades strength (0–100), optionally builds an in-zone volume profile with POC, and adds confluence layers like pivots, MTF alignment, Fibonacci proximity, delta imbalance, sessions, and divergence warnings.
The goal is not prediction — it’s structured context: which zones matter, why they matter, and how price is interacting with them now.
Core features (what you’ll see on chart)
1) FVG detection (bull + bear)
Uses classic 3-bar gap logic:
Bullish FVG: low > high[2] and gap size > ATR threshold
Bearish FVG: high < low[2] and gap size > ATR threshold
Includes timeframe-adaptive distance filters (different settings under 1H vs ≥1H).
2) Zone lifecycle management
Each zone is stored and managed over time:
Expiration by max age (bars)
Optional “reset age on touch”
Optional overlap prevention / “keep strongest”
Optional proximity rules (minimum bars between zones)
“Clean mode” display (shifts/extends boxes for cleaner viewing)
3) Strength score (0–100) + ★ rating
Each zone gets a composite Strength Score that can include:
Volume vs average (optionally using lower timeframe volume aggregation)
Gap size vs ATR
Pivot confluence count
MTF confluence (additional timeframes)
Session weighting (Asia / London / NY / overlap)
Order block + imbalance checks
VWAP proximity/extreme bonus
Fib confluence
Delta divergence
Clustering / consolidation bonus
Role reversal bonus (support flips to resistance and confirms)
The star label displays score tiers (configurable thresholds):
★★, ★★★, ★★★★, ★★★★★
4) In-zone Volume Profile + POC (optional)
For each zone, Ghost Ladder can compute a lower-TF volume profile proxy inside the zone:
Configurable bins (resolution)
POC line (most volume concentration in-zone)
Optional total zone volume label
Optional delta coloring on POC (buy vs sell pressure)
Note: this is a practical proxy using lower-TF bar volumes/close locations — it is not exchange-level true volume-at-price.
5) Smart positioning / role logic (S/R behavior)
Optional “Smart Positioning” modes:
Show All
Hide Wrong Side
Auto Role Flip (support ↔ resistance based on price location + buffer)
Role reversal tracking:
Break detection (body break optional)
Break confirmation bars
Broken-zone persistence for N bars
Reactivation badge when zone becomes relevant again
6) Real-time divergence warnings (optional)
When price is interacting with a zone, it can flag divergence/weakness conditions using:
RSI divergence thresholding
OBV divergence (optional)
ADX weak-momentum check (optional)
You can choose how it displays:
Border only / icon only / both / color change
7) Fibonacci confluence (optional)
Computes fib levels from a lookback swing (highest/lowest over period), then counts if fib levels fall inside/near a zone (tolerance %). Optional fib lines + labels (with “only current fib” cleanup).
8) Adaptive learning + backtesting (optional)
Zones can be evaluated after touches:
“Success” if price moves away by a threshold
“Failure” if price violates beyond a threshold
Tracks wins/losses per zone
Updates an adaptive weight periodically
Optional ML-style confidence badge when sample size is meaningful
This is not a machine-learning model in the academic sense — it’s a performance-based weighting and confidence heuristic.
9) Info Table (optional)
A compact “war room” table on the last bar summarizing:
Active zone counts (bull vs bear)
Current market posture (near support/resistance, above/below, neutral)
Nearest S/R levels
Bias estimate
Active session
Risk assessment
10) Alerts
Built-in alert conditions include:
Magnetic pull active (price entering magnetic range of a strong zone)
Strong bullish FVG / strong bearish FVG (high strength score)
Divergence detected while price touches a zone
How to use (simple workflow)
Start with the stars: focus on ★★★★–★★★★★ zones first.
Trade the edges, not the middle: entries are usually better at zone boundaries with defined invalidation.
Respect role flips: a broken zone that flips and confirms can become a higher-quality level than a fresh gap.
Use divergence as a brake: divergence-at-zone = reduce size, wait for confirmation, or stand down.
Let filters remove excuses: tune distance filters, minimum stars, institutional-only mode, session weighting to match your market + timeframe.
Badge / icon legend (labels)
Depending on enabled features, labels may include:
🔥 = cluster / stacked zones
🎯 = pivot confluence
⚡ = MTF confluence
📐 = fib confluence
⚠ = delta divergence / warning
🔗 = merged / consolidated
📈 = upgraded to “institutional” classification
🤖 = confidence badge (sample-size based)
🔄 = reactivated zone
Repaint / reliability notes (important)
FVG zones: detected from past bars ([2] reference) → does not require future bars.
Pivot markers: use ta.pivothigh/ta.pivotlow → pivots confirm after pivotPeriod bars. That’s normal and means pivot signals are delayed/confirmed, not “future-looking.”
Lower-TF volume profile: depends on available lower timeframe data; can be heavier and may vary slightly by broker/feed.
Scores/labels: update as new touches, breaks, and confirmations occur (expected “living” behavior).
Performance / chart limits
This script uses many drawing objects (boxes/lines/labels) and can be resource-heavy:
Reduce profile bins, disable volume profile, or increase filters if you hit object limits or slowdowns.
“Clean Mode” can simplify the on-chart clutter.
Disclaimer
This indicator is for educational and analytical purposes only. It does not provide financial advice and does not guarantee outcomes. All “institutional / smart money / confidence” terminology is heuristic scoring, not a claim of certainty.
🙏 All glory to G-d — may He bless your vision, patience, and discipline at the boundary.
Notas de prensa
👻 BK AK–Ghost Ladder (Footprint Order Flow Edition)FVG Zones • Volume Profile • Confluence • Lifecycle • Footprint Bid/Ask • Absorption • VAH/VAL
🙏 All glory to G-d.
Built with standards and discipline passed down by my mentor — thank you for the insistence on structure over noise.
Update / Record
This update adds native footprint order flow support (TradingView Premium/Ultimate where available), plus new auction/value-area intelligence and absorption detection inside Ghost Ladder zones.
Ghost Ladder remains a “living-zone” engine — it doesn’t just draw rectangles; it tracks and grades zones as price interacts with them.
What this script does
Ghost Ladder is an overlay indicator that detects Fair Value Gaps (FVGs) and manages them as evolving support/resistance zones.
Each zone is tracked over time:
touches and retests
break confirmation + broken-zone persistence
optional role flip behavior (support ↔ resistance)
merging/consolidation + clustering into “super zones”
strength grading 0–100 with ★ rating and badges
optional in-zone volume profile and POC line
The goal is structured context, not prediction:
which zones matter, why they matter, and how price is reacting right now.
NEW in this version: Footprint Order Flow (Native Bid/Ask)
If TradingView provides footprint data for your plan/symbol, this script will use:
✅ True bid/ask execution volume (buy @ ask / sell @ bid)
✅ True delta (from footprint)
✅ Value Area levels: VAH / VAL (auction structure)
✅ Absorption detection (high volume + low delta ratio)
✅ Footprint imbalance flagging (buy/sell dominance thresholding)
✅ “Data Source” status shown in the info table and tooltips
Fallback behavior (automatic)
If footprint data is not available, Ghost Ladder automatically falls back to:
Lower-TF volume estimation (close>open split), or
a simple directional heuristic (if LTF volume is disabled)
So the script still works on all plans — footprint just upgrades precision when available.
Core features (what you’ll see on chart)
1) FVG detection (bull + bear)
Classic 3-bar logic:
Bullish FVG: low > high[2] and gap > ATR threshold
Bearish FVG: high < low[2] and gap > ATR threshold
Includes timeframe-adaptive distance filters (<1H vs ≥1H).
2) Zone lifecycle management
expiration by max age (bars)
optional reset age on touch
overlap prevention / keep strongest
proximity rules
clean mode display
3) Strength score (0–100) + ★ rating
Composite score can include:
volume vs average (now footprint-enhanced when available)
gap size vs ATR
pivot confluence count
MTF alignment
session weighting (Asia/London/NY/overlap)
order block + imbalance checks
VWAP proximity/extremes
fib proximity
delta divergence warnings
clustering + consolidation bonus
role reversal bonus
NEW: absorption bonus (when detected)
4) In-zone Volume Profile + POC (optional)
Computes a practical in-zone volume profile proxy using lower-TF bars:
configurable bins (resolution)
POC line
optional total zone volume label
optional delta coloring on the POC line
Note: This profile is a practical proxy, not exchange-level volume-at-price.
5) Smart positioning / role logic
Modes:
Show All
Hide Wrong Side
Auto Role Flip (support ↔ resistance using buffer)
6) Real-time divergence warnings (optional)
When price interacts with a zone:
RSI divergence
OBV divergence (optional)
ADX weak-momentum check (optional)
Display modes: border / icon / both / color change
7) Fibonacci confluence (optional)
Finds fib levels from a lookback swing and counts overlap with zones (tolerance %). Optional fib lines/labels.
8) Adaptive learning + backtesting (optional)
Tracks outcomes after touches:
“success” = price moves away by threshold
“failure” = break beyond threshold
Updates adaptive weight + confidence badge (heuristic, not academic ML)
9) Info Table (“war room”)
Shows:
total zones + bull/bear counts
market posture (near support/resistance, above/below)
nearest S/R edges
bias estimate
current session
risk assessment
NEW: footprint status (📊 FP vs 📉 LTF) when enabled
10) Alerts
Built-in alert conditions:
magnetic pull active
strong bull/bear FVGs (high strength score)
divergence while touching zone
NEW: absorption at zone (when footprint available)
Footprint settings (important)
Tick Size (Manual)
TradingView’s footprint request requires a manual tick size (ticks per row).
Set it per instrument for best results:
NQ: 25–50 typical
ES: 50–100 typical
This script shows an ATR-suggested tick size in tooltips for reference, but the manual value is what’s used.
Badge / icon legend (labels)
Depending on enabled features:
🔥 = cluster / stacked zones
🎯 = pivot confluence
⚡ = MTF confluence
📐 = fib confluence
⚠ = delta divergence / warning
🔗 = merged / consolidated
📈 = upgraded to institutional classification
🤖 = confidence badge (sample-based)
🔄 = reactivated zone
🧲 = absorption detected (footprint / order-flow behavior)
⚡ (extra) = footprint imbalance flagged
Reliability / repaint notes
FVG zones use past bars ([2]) — no future bars required.
Pivots confirm after pivotPeriod bars (normal confirmed behavior).
Footprint availability depends on plan/symbol/data access; when unavailable, the script falls back automatically.
Scores evolve as touches/breaks/confirmations happen — this is intentional “living zone” behavior.
Performance / chart limits
This script can be heavy (boxes/lines/labels):
reduce volume profile bins
disable volume profile / VAH/VAL if needed
increase filters / keep fewer zones
use clean mode to reduce clutter
Disclaimer
For educational/analytical use only. Not financial advice.
“Institutional / smart money / confidence” are heuristic labels based on the scoring model — not certainty.
🙏 All glory to G-d — may He bless your vision, patience, and discipline at the boundary.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.