# Smart NR2-NR20

Detects narrow range breakouts and inside bars, projects breakout levels, and trades with trend filter.

Canonical: https://prismaticalgos.com/compendium/algo/10072-smart-nr2-nr20
Record ID: 10072
Catalog rank: 56 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Price Action & Market Structure (E)
Source: https://www.prorealcode.com/prorealtime-indicators/smart-nr2-nr20-inside-bar-narrow-range-breakouts-with-trend-filter/
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: trending|ranging|volatile|breakout

## Indicators

- NR2: {}; applied to: close
- NR20: {}; applied to: close
- ADX: {"high_threshold": 35, "length": 14, "low_threshold": 10}; applied to: close
- EMA: {"period": 200}; applied to: close

## Recorded long-entry rules

- high >= pendHi AND allowLong = 1

## Recorded short-entry rules

- low <= pendLo AND allowShort = 1

## Recorded exit rules

- TP: high >= pTgt[i]
- SL: close <= pStop[i]
- T: barindex >= pTrig[i] + exitBars

## Recorded filters

- Trend filter with a static or adaptive EMA/RMA

## Risk controls

- Stop loss: close <= pStop[i]
- Take profit: high >= pTgt[i]
- Position sizing: Not specified
