# Maestrale EA

A fully automated mean-reversion system for XAUUSD M5 that buys oversold dips and sells overbought spikes with ATR-based stop loss, take profit, and time-based exit.

Canonical: https://prismaticalgos.com/compendium/algo/9061-maestrale-ea
Record ID: 9061
Catalog rank: 2330 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/market/product/188457
Evidence label (unverified): backtest_shown

## 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

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: XAUUSD
- timeframes: M5
- sessions: 24/5 on a VPS
- market_regime: trending|ranging|volatile

## Indicators

- EMA: {"period": 200}; applied to: close
- RSI: {"period": 14}; applied to: close
- ATR: {"period": 14}; applied to: close

## Recorded long-entry rules

- close bar RSI below 30
- price at least 2.5 ATR away from EMA(20)

## Recorded short-entry rules

- close bar RSI above 75
- price at least 2.5 ATR away from EMA(20)

## Recorded exit rules

- take profit at 3 ATR
- catastrophic stop loss at 9 ATR
- forced time exit after 200 bars
- optional break-even and trailing stop

## Recorded filters

- trend filter EMA(200)
- entry time window 01-18
- close all positions on Friday evening

## Risk controls

- Stop loss: catastrophic stop loss at 9 ATR
- Take profit: take profit at 3 ATR
- Position sizing: fixed lot, fixed USD risk or percent of balance, hard cap on position size
