Kernel Regression Envelope Signals MT4
- Indicatori
-
Mattia Marco Platania
At MetaCoderStore, our goal is to build practical, clean, and reliable MetaTrader indicators that traders can actually use in live chart work. We focus on clear visual tools, useful inputs, and MT4/MT5 versions wherever possible. - Versione: 1.0
Limited-time free release: Kernel Regression Envelope Signals MT4 is published free while MetaCoderStore collects trader feedback, comments, and feature requests.
Kernel Regression Envelope Signals draws a causal, non-repainting Nadaraya-Watson style regression centerline with adaptive upper and lower envelopes, then marks stretched-band reclaims and rejections.
Use cases
- Find smooth dynamic support and resistance around current price action.
- Spot lower-band reclaim and upper-band rejection setups after price stretches away from the kernel estimate.
- Feed signal, distance, and envelope-width buffers into an Expert Advisor or scanner.
What it shows
- Cyan causal kernel-regression centerline calculated from past bars only.
- Gold adaptive envelope bands based on mean absolute deviation from the regression line.
- Optional green bullish and red bearish signal arrows.
Main features
- Non-repainting past-bar calculation; no future bars are used.
- Configurable regression lookback, Gaussian kernel bandwidth, and envelope multiplier.
- Optional popup and push alerts with current-candle or closed-candle trigger mode.
- EA-readable buffers for signal direction, distance percent, and envelope width.
Basic use
- Attach the indicator to a liquid symbol and timeframe.
- Use the centerline for trend context and the envelopes as dynamic stretch zones.
- Wait for price to stretch beyond a band and close back inside before considering the arrow signal.
- Combine with your own market structure, volatility, and risk rules.
Inputs
- RegressionLookback: bars used in the causal kernel estimate.
- KernelBandwidth: Gaussian weighting width; lower values follow price more closely.
- EnvelopeMultiplier: expands or contracts the adaptive envelope.
- MinDistancePercent: minimum prior stretch before a reclaim/rejection can signal.
- EnableAlerts / EnablePushNotifications: alert controls.
Buffers for EA integration
- 0 Kernel centerline.
- 1 Upper envelope.
- 2 Lower envelope.
- 3 Bullish arrow price, or EMPTY_VALUE.
- 4 Bearish arrow price, or EMPTY_VALUE.
- 5 Signal value: +1 bullish, -1 bearish, 0 none.
- 6 Distance percent from centerline to envelope width.
- 7 Envelope width in points.
Risk note: This is an analytical indicator, not a trading system. It does not place trades, set stops, or guarantee reversals. Always test settings on your symbol and timeframe before using signals in live decisions.
