Pulse Echo MT4
- 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
Pulse Echo Indicator is a non-repainting volatility-adaptive trend envelope for MetaTrader 4. Instead of relying on a single fixed-length moving average, it continuously rebalances a fast (default 7) and slow (default 34) EMA based on the ratio of short-term to long-term realized volatility, producing a single trend spine that hugs price tightly in calm markets and flattens against noise in volatile ones. An EWMA-variance band sized in proportion to the spine and current sigma defines bullish and bearish breakouts, and a three-state regime machine (bull / bear / neutral) drives the visible trend color, painted candles, and Buy/Sell labels at every confirmed transition.
Check MT5 version at: Pulse Echo MT5
See more products at: All Products
Check MT5 version at: Pulse Echo MT5
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
Adaptive Trend Spine
The indicator computes log returns of the source price (default close) and feeds them into two rolling standard-deviation windows: a 20-bar short-term volatility (volS) and an 80-bar long-term volatility (volL). The ratio vr = volS / volL is mapped to a blend weight via wRaw = clamp(1 - (vr - 0.7) / 0.9, 0, 1) . The weight is smoothed by a 30-bar EMA, then used to combine the fast and slow EMAs into a raw spine: spineRaw = w * emaFast + (1-w) * emaSlow . A second 30-bar EMA smooths the result into the visible trend line. When volatility is low, the weight pulls the spine toward the fast EMA; when volatility expands, it pulls toward the slow EMA. The transition is smooth because the weight itself is EMA-smoothed.
EWMA-Variance Envelope
An exponentially-weighted moving variance of log returns (decay alpha = 0.09) produces realized sigma at every bar. The envelope half-width is spine * sigma * 1.9 , with upper and lower bands above and below the spine. When the close of a confirmed bar exceeds the upper band, the regime transitions to bull (+1). When it falls below the lower band, bear (-1). When the regime is bull and price closes below the spine, it returns to neutral (0); same in reverse for bear. This three-state logic filters whipsaws while still capturing every real reversal.
Visual Layers
Each visible bar receives multiple layers of feedback: the trend spine line color changes with the active regime; candle bodies are recolored in the bull or bear color (last 500 bars by default); a colored fill connects close to the spine's anchor when they diverge; a thin rim band hugs close 6% of ATR away. At every regime transition (bull-start or bear-start), a yellow "Buy" or "Sell" text on a colored pill is placed 2.5 ATRs above or below the bar's high or low — far enough to never overlap candle wicks.
Key Features
- Volatility-adaptive blend of fast (7) and slow (34) EMA driven by realized volatility ratio
- EWMA-variance envelope with configurable band multiplier (default 1.9) and decay alpha (default 0.09)
- Three-state regime machine: bull / bear / neutral with confirmation bars and spine-cross exits
- Trend candles repainted in the active regime color (default lime / red)
- Energy fills between close and the trend spine, colored by direction
- Thin rim band (6% of ATR) hugging close as a low-noise regime indicator
- Yellow "Buy"/"Sell" pill labels at every regime transition, positioned 2.5 ATRs from price
- Non-repainting: signals fire only on confirmed bar close and never disappear
- 4 alert conditions: Bull Trend Start, Bear Trend Start, Trend Exit, Spine Cross
- 4 delivery channels: Popup, Sound, Push notification, Email
- Works on all symbols and all timeframes
