Cascading stopwin sets multiple profit triggers, each of which raises the stop to a lock-in level. As price hits each trigger, the stop moves up; it never moves down.
Shape
"cascading_stopwin": {
"enabled": true,
"levels": [
[1.0, 0.0],
[2.0, 1.0],
[3.0, 2.0]
]
}Format: [profit_trigger_pct, lock_in_pct]. The example reads:
- At +1%, lock stop at breakeven (0%).
- At +2%, lock stop at +1%.
- At +3%, lock stop at +2%.
Params
enabled- toggle on/off.levels- ordered list of[trigger, lock]pairs (percent of entry).
Usage
A discretized alternative to trailing stops. Easier to reason about for systematic strategies because the lock-in levels are explicit and never change between trades.
Pitfalls
- Levels must be monotonically increasing. Earlier triggers can override later ones if you misconfigure.
- No down-move logic - by design. If you want price-based exits in the wrong direction, use a regular stop or a custom exit condition.
