# Double Stop at Opening Price Candle

Enters a trade at the opening price and sets stop-loss levels based on a distance from that price.

Canonical: https://prismaticalgos.com/compendium/algo/4021-double-stop-at-opening-price-candle
Record ID: 4021
Catalog rank: 2565 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trade & Execution Management (K)
Source: https://www.prorealcode.com/topic/code-a-double-stop-at-opening-price-candle-and-turn-it-into-a-trailing-stop/
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

Opacity warnings: UNDEFINED ENTRY TERM: the entry conditions are prose naming a concept with no numeric definition, so two readers would implement them differently. Advisory only -- this does not affect the score.

## Recorded profile

- symbols: Not specified
- timeframes: M15
- sessions: Not specified
- market_regime: any

## Indicators

No indicator stack recorded.

## Recorded long-entry rules

- opentime = 152900

## Recorded short-entry rules

- opentime = 152900

## Recorded exit rules

- onmarket then inTrade = 0

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: SET STOP ploss dist
- Take profit: null
- Position sizing: null
