# Bollinger Pullback Trend Following

Enters long when price dips below upper Bollinger Band and is above a smoothed average, exiting based on ATR.

Canonical: https://prismaticalgos.com/compendium/algo/3303-bollinger-pullback-trend-following
Record ID: 3303
Catalog rank: 963 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.prorealcode.com/topic/gold-apr-26-1d-bollinger-pullback-trend-following-pf-1-23/
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

Build warnings: DAILY_LOW_COUNT: daily-or-slower timeframe on a single instrument. Expect well under 100 trades in five years, so a backtest will rarely reach statistical significance on its own.

## Recorded profile

- symbols: GC=F
- timeframes: 1d
- sessions: Not specified
- market_regime: trending

## Indicators

- Bollinger Bands: {"period": 21}; applied to: close
- Average: {"ma_type": 8, "period": 35}; applied to: close
- Average True Range: {"period": 21}; applied to: close
- Average True Range: {"period": 13}; applied to: close

## Recorded long-entry rules

- NOT LONGONMARKET AND (LOW < BollingerUp[21](close) AND CLOSE > AVERAGE[35, 8](close))

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- STOP LOSS (2.4 * AVERAGETRUERANGE[21])
- TARGET PROFIT (5.4 * AVERAGETRUERANGE[13])

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: 2.4 times the 21-period ATR
- Take profit: 5.4 times the 13-period ATR
- Position sizing: dynamic sizing
