Vault Depth MT5
- Indicators
-
Kestutis Balciunas
With over 16 years of active experience in financial markets, I specialize in developing high-performance forex trading strategies, technical indicators, and automated Expert Advisors for MT4/MT5. My work spans precision-engineered trading systems designed for accuracy, consistency, and real-world - Version: 1.0
Vault Depth Indicator is a non-repainting trend tool for MetaTrader 5 built around three measurable concepts: bar-by-bar conviction tracking through a pulse engine, volatility-adaptive bands using Mean Absolute Deviation, and structural-level discovery through saturation peak collapse. It tracks how engaged buyers and sellers are at each bar, plants zones automatically at the prices where conviction reached its strongest reading, and fires retest signals when price returns to those zones with cooldown gating. Trend flip arrows appear on confirmed band crosses with deterministic timing — the signal logic uses raw band values, not the optionally-smoothed display lines, so signal placement is reproducible across reloads and timeframe changes.
Check MT4 version at: Vault Depth MT4
See more products at: All Products
Check MT4 version at: Vault Depth MT4
See more products at: All Products
For live examples and new tools, visit my profile and send a Friend request so you don’t miss updates!
How It Works
Pulse Engine
The indicator counts "conviction bars" — candles that close in the upper or lower 30% of their range with directional intent (bullish close above open for bull conviction, bearish close below open for bear conviction). The pulse counter increments by 1 on each conviction bar (capped at 8 by default) and decays by 0.85 on each non-conviction bar. Saturation is the ratio of the dominant pulse to its cap, ranging from 0 to 1. This produces a measure of participation rather than overbought/oversold — a market with rising pulse has buyers driving closes near highs, regardless of where price sits on RSI or stochastics.
Adaptive Mean Absolute Deviation Bands
The basis is a 21-period EMA. Mean Absolute Deviation (not Standard Deviation) over 17 bars sets the band width. MAD avoids the squared-error amplification that makes Bollinger Bands balloon and stay ballooned for many bars after a volatility spike. The band coefficient adapts to saturation: tight (1.4 x MAD) when pulse is fully saturated, wide (2.2 x MAD) when pulse is exhausted. This means a close above the upper band when bands are tight is a high-conviction breakout; the same close when bands are wide is a noise event. The system distinguishes between these naturally.
Exhaustion Levels
While the pulse rises, the indicator tracks the highest saturation reached, the price at that moment (high for bull pulse, low for bear pulse), and the bar time. When saturation falls to less than 40% of that peak (and the peak was above 0.5), exhaustion is detected. A zone is planted at the peak price: a colored rectangle, a dashed mid-line through the exact peak, a right-edge price label, and a diamond marker (Wingdings 159) on the original peak bar. Up to 8 active zones are kept at any time. When new zones plant beyond the cap, the oldest is removed.
Level Lifecycle
Each alive zone is checked every bar. A close beyond the zone (with a 0.25 x ATR buffer) breaks the level and removes its objects from the chart. A bar that touches inside the zone, with cooldown elapsed (default 8 bars) and at least 2 bars after origin, fires a retest signal: a horizontal line at the rejection price plus a sparkle marker (Wingdings 171). Bull retests fire when bear-peak zones are touched and rejected upward; bear retests fire when bull-peak zones are touched and rejected downward.
Trend Flip Arrows
A LONG flip fires when the bar close crosses above the raw upper band on a confirmed bar. A SHORT flip fires when the bar close crosses below the raw lower band. Arrows are non-repainting — they appear at the close of the breakout bar and never move.
Key Features
- Non-repainting pulse-driven trend engine — every signal confirmed on bar close
- Mean Absolute Deviation adaptive bands — narrow during high conviction, wide during exhaustion
- Auto-planted exhaustion zones at saturation peaks with colored rectangle, mid-line, price label, and diamond marker
- Cooldown-gated retest detection on every alive zone with horizontal line + sparkle marker
- Trend flip arrows on confirmed band cross (Wingdings 233 up / 234 down)
- 5 alert events: Trend Flip LONG, Trend Flip SHORT, Exhaustion Plant, Bull Retest, Bear Retest
- 4 alert delivery channels: popup, sound, push notification, email
- Per-event toggles to filter alert volume
- Up to 8 active levels with auto-cleanup of oldest when capped
- Configurable retest cooldown to prevent low-quality re-touches
- Display smoothing options for band lines (SMA, EMA, HMA, ALMA) — does not affect signal timing
- 5000-bar history scan on first load to retroactively populate exhaustion zones
- Works on all symbols and all timeframes
- Multiple instances per chart use unique object prefixes
