# FxCraft Example EA – Bollinger Bands mean reversion

A mean-reversion Expert Advisor based on Bollinger Bands with optional RSI filter and time window restrictions.

Canonical: https://prismaticalgos.com/compendium/algo/10912-fxcraft-example-ea-bollinger-bands-mean-reversion
Record ID: 10912
Catalog rank: 98 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/code/78687
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

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: any
- timeframes: M15
- sessions: 00:00-00:00 (start = end → all day)
- market_regime: ranging|trending

## Indicators

- Bollinger Bands: {"applied_price": "close", "deviation": 2.0, "period": 20}; applied to: close
- RSI: {"lower_level": 30, "period": 14, "upper_level": 70}; applied to: close

## Recorded long-entry rules

- bar 2 closed below the lower band and bar 1 closed back inside the bands
- RSI on bar 2 below the lower level (optional)

## Recorded short-entry rules

- the other way round (upper band, RSI above the upper level)

## Recorded exit rules

- when the price touches the current middle band (BUY: Bid ≥ middle, SELL: Ask ≤ middle)
- at Stop Loss

## Recorded filters

- Use RSI filter
- max spread 30 points
- max slippage 10 points

## Risk controls

- Stop loss: in points, 0 = none (300)
- Take profit: Not specified
- Position sizing: 0.10 (fixed)
