# Stop Loss with Trailing Stop

A strategy that enters long and short positions based on EMA, WMA, and Stochastic conditions, with a trailing stop loss.

Canonical: https://prismaticalgos.com/compendium/algo/1490-stop-loss-with-trailing-stop
Record ID: 1490
Catalog rank: 2997 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Trade & Execution Management (K)
Source: https://www.prorealcode.com/topic/aggiungere-un-ordine-stop-ad-una-strategia/
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: Not specified
- sessions: 09:00-20:00 GMT
- market_regime: trending

## Indicators

- EMA: {"period": 13}; applied to: close
- EMA: {"period": 17}; applied to: close
- WMA: {"period": 48}; applied to: close
- SmoothedStochastic: {"d_period": 8, "k_period": 17}; applied to: close
- ADX: {"period": 11}; applied to: close

## Recorded long-entry rules

- x CROSSES OVER y[1]
- z <= 51
- ADX[11] >= 26
- close > w[1]
- z > WeightedAverage[20](z)[1]

## Recorded short-entry rules

- x CROSSES UNDER y[1]
- z >= 51
- ADX[11] >= 26
- close < w[1]
- z < WeightedAverage[20](z)[1]

## Recorded exit rules

- x CROSSES UNDER y
- x CROSSES OVER y

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: 56 pips
- Take profit: 118 pips for long, 132 pips for short
- Position sizing: 1 contract
