# Strategy mini S&P

Enters long if the low of the second bar is greater than the open of the first bar and RSI is below 50, or if the close is greater than the previous two closes and the daily close is less than the previous day's close. Enters short if the high of the second bar is less than the open of the first bar and RSI is above 50, or if the close is less than the previous two closes and the daily close is greater than the previous day's close.

Canonical: https://prismaticalgos.com/compendium/algo/3266-strategy-mini-s-p
Record ID: 3266
Catalog rank: 2797 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Mean Reversion & Counter-Trend (B)
Source: https://www.prorealcode.com/topic/conversion-of-code-from-the-tradestation/
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: @ES.D, @MES.D
- timeframes: 5 Minute
- sessions: Regular session 08:30-15:15 GMT
- market_regime: trending|ranging|volatile|breakout|any

## Indicators

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

## Recorded long-entry rules

- low > openp and (RSI(close,5)<50 or (c>c[1] and c>c[2])) and close of data2 < Close[2] of data2

## Recorded short-entry rules

- high < openp and (RSI(close,5)>50 or (c<c[1] and c<c[2])) and close of data2 > Close[2] of data2

## Recorded exit rules

- time >= 110000 AND PositionPerf > 0

## Recorded filters

- True Range of the daily bar is greater than the average true range of the last 5 daily bars
- news filter

## Risk controls

- Stop loss: stopl points from entry
- Take profit: not explicitly stated
- Position sizing: 1 Contract
