Stops & exits

Stop loss - band-based

Per-side stop indicators (Bollinger, Keltner, custom bands) used directly as stop prices.

1 min readUpdated Jun 19, 2026

band_based picks one indicator for the long stop and another for the short stop. The most common case is Bollinger lower band for longs and Bollinger upper band for shorts.

Shape

"stop_loss": {
  "type": "band_based",
  "long_stop": "bb_lower",
  "short_stop": "bb_upper"
}

Params

  • long stop - indicator column for long-side stop price.
  • short stop - indicator column for short-side stop price.

Usage

Common for mean-reversion strategies where the bands are already part of the entry logic. The exit stays consistent with the entry thesis.

Pitfalls

  • Bands move every bar. The stop value is captured at entry; it doesn't follow the band. For a trailing variant, combine with trailing_stop.
  • Tight bands = tight stops that get shaken out in normal noise.
Stop loss - band-based | Help Center | LucraX · LucraX