MA Envelopes
MA Envelopes draws upper and lower bands around a moving average at a user-defined percentage deviation, visually identifying overbought and oversold zones. It does not open or manage trades on its own but serves as a technical reference tool for mean-reversion strategies. Traders typically use envelope touches or penetrations as signals for potential price reversals back toward the moving average centerline.
Open the interactive view (equity curve, symbol switch)Key facts
Backtest results (H1, about 1 year)
Not backtested yet — this EA could not be converted automatically.
Strategy analysis
The core concept of MA Envelopes is percentage-based bands around a moving average, where the upper band sits at MA×(1+deviation%) and the lower band at MA×(1-deviation%). When price touches or breaches the upper band, it signals an overbought condition suggesting a potential reversion downward toward the centerline MA, serving as a potential short entry signal; conversably, touching or breaching the lower band signals oversold conditions for a potential long entry. Entry conditions typically involve price reversing from outside the envelope back inward, while exit conditions target the centerline MA or a predefined profit objective. Position sizing and money management are entirely left to the trader's discretion, as the indicator itself provides no trade execution or risk management capabilities. The tool supports multiple MA types (SMA, EMA, SMMA, LWMA) and can be applied across timeframes, but it lacks dynamic volatility adjustment such as ATR-based band width, making the envelope potentially too narrow during extreme market conditions. Overall, this is a classic but foundational mean-reversion reference tool that requires complementary indicators and risk management practices to be effective.
Strengths
- Intuitively visualizes overbought and oversold zones for quick assessment of price deviation
- Supports multiple MA types and flexible deviation parameters to adapt to different trading styles
- Classic mean-reversion reference tool with simple, easy-to-understand logic suitable for beginners
Weaknesses
- Fixed percentage band width does not dynamically adjust with market volatility, potentially generating frequent false signals during high-volatility periods
- Functions only as a reference indicator without trade execution or risk management capabilities, requiring substantial supplementary logic for live trading
- During strong trending markets, price may persist along the envelope band, invalidating the mean-reversion assumption and leading to significant loss risk
Possible improvements
- Add ATR-based dynamic volatility adjustment mechanism so envelope band width self-adapts to market volatility changes
- Add automated trade signal generation based on envelope crossovers and a risk management module to enhance practical usability
Risk assessment
Overall risk: Safe
- The indicator itself does not open trades, posing no direct capital risk
- If traders blindly rely on the mean-reversion assumption and trade against strong trends, significant loss risk exists
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
InpMaPeriod | 14 | Moving average calculation period |
InpDeviation | 0.1 | Envelope deviation percentage |
InpMaMethod | MODE_SMA | Moving average method (SMA/EMA/SMMA/LWMA) |
InpAppliedPrice | PRICE_CLOSE | Price type applied to moving average |
InpShift | 0 | Horizontal shift for indicator drawing |
Similar Mean Reversion EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.