Let Profits Run! Complete Freqtrade Trailing Stop Configuration Guide

This article was produced by the Quantitative Trading Lab at https://www.itrade.icu. Visit for more benefits. Trailing Stop is a widely used risk management tool in trend trading. It automatically adjusts the stop-loss price as profits grow, locking in gains and limiting drawdowns. Freqtrade provides several parameters to finely control the behavior of trailing stops.


βš™οΈ trailing_stop β€” Enable Trailing Stop

trailing_stop = True

When enabled, the system dynamically adjusts the stop-loss based on the highest profit point, allowing profits to run.


πŸ“ˆ trailing_stop_positive β€” Take-Profit Pullback Threshold

trailing_stop_positive = 0.02  # 2%

A trailing stop is triggered when the price retraces more than this proportion from the peak profit.


🎯 trailing_stop_positive_offset β€” Activation Threshold

trailing_stop_positive_offset = 0.05  # 5%

The trailing stop only activates after the profit reaches this minimum threshold.


πŸ”„ trailing_only_offset_is_reached β€” Wait for Pullback to Trigger?

  • True: Stop-loss triggers only after the price retraces beyond trailing_stop_positive

  • False: Trailing stop starts as soon as the profit reaches the offset


πŸ“Š Example: Buy Price at 100 USDT

Time
Current Price
Profit %
Highest Price
Offset Reached (5%)
Pullback Trigger (2%)
Stop Active
Estimated Stop Price

t0

100

0%

100

No

No

No

β€”

t1

106

+6%

106

Yes

No

No

β€”

t2

104

+4%

106

Yes

Yes

βœ… Yes

103.88

t3

108

+8%

108

Yes

No

βœ… Yes

105.84

t4

105.5

+5.5%

108

Yes

Yes

βœ… Yes

105.84

t5

103

+3%

108

Yes

βœ… Price below stop

βœ… Triggered

πŸ”” Stop Activated


πŸš€ Practical Suggestions

Strategy Type
Recommended Parameters

Beginner

positive = 0.02, offset = 0.05, only_offset_is_reached = True β€” safe and stable

High-volatility

positive = 0.01, offset = 0.03, only_offset_is_reached = False β€” more responsive

High-frequency scalping

Consider disabling trailing stop and using fixed TP/SL, or use small pullback & offset for quick profit


βœ… Parameter Summary Table

Parameter
Description
Recommended Default

trailing_stop

Enable trailing stop mechanism

True

trailing_stop_positive

Max retracement from peak profit (take-profit pullback)

0.02 (2%)

trailing_stop_positive_offset

Minimum profit to activate trailing stop

0.05 (5%)

trailing_only_offset_is_reached

Wait for retracement to trigger trailing stop

True


Using trailing stops wisely lets your profits run while stopping risks in their tracks. Proper parameter settings can significantly improve the strategy’s risk-reward ratio.

Last updated