# Steven Primo Bollinger Band

Enter long or short based on Bollinger Bands with 0.382 deviation and 5 consecutive closes above/below the upper/lower band respectively.

Canonical: https://prismaticalgos.com/compendium/algo/3647-steven-primo-bollinger-band
Record ID: 3647
Catalog rank: 2762 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.prorealcode.com/topic/convert-steven-primo-bollinger-band-from-tradingview/
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: any
- sessions: any
- market_regime: any

## Indicators

- Bollinger Bands: {"deviation": 0.382, "period": 20}; applied to: close

## Recorded long-entry rules

- close >= upper
- countLong >= 5
- high < epLong
- pivotInRange(pivotHigh, countLong)

## Recorded short-entry rules

- close <= lower
- countShort >= 5
- low > epShort
- pivotInRange(pivotLow, countShort)

## Recorded exit rules

- strategy.exit(‘long’, ‘long’, stop=stopLong, limit=targetLong)
- strategy.exit(‘short’, ‘short’, stop=stopShort, limit=targetShort)

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: stopLong or stopShort
- Take profit: targetLong or targetShort
- Position sizing: 100% of equity
