# BOLLINGER-CONTRACTION-FOREX5M

Enters long when price is above SMA200 and Bollinger Bands are contracting upwards, and exits based on SAR and time.

Canonical: https://prismaticalgos.com/compendium/algo/1285-bollinger-contraction-forex5m
Record ID: 1285
Catalog rank: 2970 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.prorealcode.com/prorealtime-trading-strategies/bollinger-bands-contraction-5min-forex/
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: EURUSD
- timeframes: M5
- sessions: Germany session 03:00-21:00 GMT
- market_regime: trending|ranging|volatile

## Indicators

- SMA: {"period": 200}; applied to: close
- STD: {"period": 200}; applied to: close
- SMA: {"period": 2400}; applied to: close
- STD: {"period": 2400}; applied to: close
- BBANDS: {"period": 200}; applied to: close
- BBANDS: {"period": 2400}; applied to: close
- SAR: {"acceleration": 0.001}; applied to: close

## Recorded long-entry rules

- Price is near and above the SMA200 hourly
- Contraction of Bollinger Bands of period 200 is upwards
- Close is below BBlower2400

## Recorded short-entry rules

- Contraction of Bollinger Bands of period 200 is downwards
- Close is above BBupper2400

## Recorded exit rules

- Close crosses under MySAR
- Close is below support
- Close-TRADEPRICE > 0.5*stoplosslong*pipsize and MySAR < close
- Time > 22:45 and DayOfWeek = 5
- Close crosses over MySAR
- Close-TRADEPRICE > 0.5*stoplossshort*pipsize and MySAR > close
- Time > 22:45 and DayOfWeek = 5

## Recorded filters

- news filter
- max spread 0.9 pips

## Risk controls

- Stop loss: Stop loss is placed at (entrylong-lowest1)/pipsize + 3*spread
- Take profit: Not specified
- Position sizing: n = 1 + (strategyprofit / (34*pipvalue))
