# NR7 Setup

Buys when the price crosses below a 5-period SMA after 7 consecutive days above the SMA, with a target set to the SMA.

Canonical: https://prismaticalgos.com/compendium/algo/2915-nr7-setup
Record ID: 2915
Catalog rank: 2183 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Volatility-Based (G)
Source: https://www.prorealcode.com/topic/aiuto-per-codice-backtest-nr7-setup/
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: Not specified
- timeframes: M15
- sessions: Not specified
- market_regime: trending|ranging|volatile|breakout|any

## Indicators

- SMA: {"period": 5}; applied to: close

## Recorded long-entry rules

- close > Sma5
- summation[7](close > Sma5) = 7
- close < Sma5
- Not OnMarket

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- close >= Sma5
- (BarIndex - TradeIndex) = (Barre -1)

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: null
- Take profit: Target price set to Sma5
- Position sizing: 1 CONTRACT
