# Bollinger Bands as Support & Resistance

Uses Bollinger Bands to place buy and sell pending orders based on upper and lower edges.

Canonical: https://prismaticalgos.com/compendium/algo/842-bollinger-bands-as-support-resistance
Record ID: 842
Catalog rank: 1103 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.mql5.com/en/code/14992
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

Opacity warnings: UNDEFINED ENTRY TERM: the entry conditions are prose naming a concept with no numeric definition, so two readers would implement them differently. Advisory only -- this does not affect the score.
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: Not specified
- timeframes: M15
- sessions: Not specified
- market_regime: any

## Indicators

- Bollinger Bands: {"deviation": "BB_dev", "period": "BB_period"}; applied to: close

## Recorded long-entry rules

- BB_UPPER

## Recorded short-entry rules

- BB_LOWER

## Recorded exit rules

- BB_SMA

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: null
- Take profit: null
- Position sizing: null
