Skip to main content

Trailing Stop

Trailing stop moves the stop loss after price advances in the trade direction.

Main Inputs

Input labelDefaultWhat it controls
Enable trailing stopOffTurns automatic trailing on or off.
Trailing modeRSelects R-based or ATR-based trailing behavior.
Trailing activation R1.5R-based activation threshold.
Trailing distance pips, or R distance in R mode1.0Distance used by the selected trailing mode.
ATR trailing period20ATR period used for ATR trailing.
ATR trailing activation multiplier10.0Activation multiplier for ATR trailing.
ATR trailing distance multiplier5.0Distance multiplier for ATR trailing.
Minimum movement before trail update0.0Extra movement required before the stop is updated again.

Candle And Swing Trailing

Input labelDefaultWhat it controls
Use last candle for trailing stopOffTrails from the most recent candle when enabled.
Candle trailing buffer pips1.0Buffer added around the candle level.
Use swing high/low trailingOffTrails from swing structure when enabled.
Swing trailing lookback bars20Number of bars used to find swing points.
Swing trailing buffer pips1.0Buffer added around the swing point.

Practical Notes

  • R-based trailing follows the initial trade risk.
  • ATR trailing adapts to volatility.
  • Candle and swing trailing can be useful when you want the stop to follow visible market structure.