# Stoploss Beyond High/Low Previous Bar

Sets stop loss 1 point beyond the high/low of the previous bar and trails the stop loss as the trade progresses.

Canonical: https://prismaticalgos.com/compendium/algo/3270-stoploss-beyond-high-low-previous-bar
Record ID: 3270
Catalog rank: 2805 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trade & Execution Management (K)
Source: https://www.prorealcode.com/topic/stoploss-beyond-high-low-previous-bar/
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: Micro Nasdaq
- timeframes: M1
- sessions: any
- market_regime: any

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- close > close[1]

## Recorded short-entry rules

- close < close[1]

## Recorded exit rules

- LongOnMarket: sl = max(sl, low[1] - 1*pointsize); Sell at sl STOP
- ShortOnMarket: sl = min(sl, high[1] + 1*pointsize); Exitshort at sl STOP

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: 1 point beyond the low of the previous bar for long positions, 1 point beyond the high of the previous bar for short positions
- Take profit: 30 points
- Position sizing: 1 LOT
