# EnvelopeMA

Sells when the Ask price and two moving averages are within the low period envelope bands, exits when Parabolic SAR points are under the Ask price and moving averages crossover.

Canonical: https://prismaticalgos.com/compendium/algo/6446-envelopema
Record ID: 6446
Catalog rank: 2274 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trend Following & Directional (A)
Source: https://www.mql5.com/en/code/9533
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

Build warnings: MT4_ONLY: the captured source is MQL4 / written for MetaTrader 4. It needs porting (order functions, indicator handles) before it runs on MT5.

## Recorded profile

- symbols: any
- timeframes: M15
- sessions: Not specified
- market_regime: any

## Indicators

- Low period envelope: {"deviation": "sdEnv", "period": "PerEnv"}; applied to: close
- Exponential moving average: {"period": "PerMM"}; applied to: close
- Exponential moving average: {"period": "PerMMl"}; applied to: close
- Parabolic SAR: Not specified; applied to: close

## Recorded long-entry rules

- Not specified.

## Recorded short-entry rules

- Ask price and two moving averages are within the low period envelope bands

## Recorded exit rules

- Three different Parabolic SAR points are under the Ask price and there is a crossover of moving averages

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: configurable and optional
- Take profit: configurable and optional
- Position sizing: null
