# Two-Contract Buy with Trailing Stop and TP

Buys two contracts on a condition, uses trailing stop and TP, and manages positions.

Canonical: https://prismaticalgos.com/compendium/algo/3352-two-contract-buy-with-trailing-stop-and-tp
Record ID: 3352
Catalog rank: 2563 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trade & Execution Management (K)
Source: https://www.prorealcode.com/topic/codice-con-trailing-tp-e-contatore/
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: any

## Indicators

- ADX: {"period": 14}; applied to: high

## Recorded long-entry rules

- adx[14] >= 20
- high[1] < high

## Recorded short-entry rules

- Not specified.

## Recorded exit rules

- close >= prezzovendita

## Recorded filters

- not daysForbiddenEntry
- not OnMarket

## Risk controls

- Stop loss: low[2]
- Take profit: prezzoacquisto + 24 * pointsize
- Position sizing: 2 contracts
