Skip to content

Trailing TP and Trailing SL

Trailing is an optional setting. A regular Take-Profit and Stop-Loss stay in place; the trailing variants move along with the price while it goes into profit. In all presets trailing is off.

What it is

Trailing TP. The bot follows the price peak and keeps the TP order a set percentage beyond the peak (for Long — above it: peak × (1 + trailing %)). While price rises, the TP moves with it; the position closes when price reaches the moved level. The target ends up further from the entry than the fixed TP from the preset — this is how the bot tries to take more out of a strong move.

Trailing SL. The stop is pulled up behind the peak: as price goes into profit, the protection moves up (for Long) and locks in part of the gain. It is moved no more often than once every 60 seconds and only if the new level differs from the current one by at least 0.05 %. How exactly the new level is calculated is decided by the strategy:

StrategyWhat it does
% below peakThe stop sits trailing % below the price maximum; it closes on a pullback of that size
Breakeven after profitThe stop is moved to breakeven once the position is in profit
Moving targetA moving target; the bot gives no separate description
Ticks below highestAn offset from the maximum measured in price ticks; the bot gives no separate description
ATR-basedAn offset based on volatility (ATR on 15-minute candles)

The strategy works only if Trailing SL % is set — the bot warns about it itself: “If trailing SL % is not set, trailing won't activate.” The percentage you enter is the basis for any of the strategies.

Where it is in the bot

The confirmation screen when creating a DCA bot:

  • 📈 Trailing TP (opt.) → the screen “📈 Trailing Take Profit for DCA bot”.
  • 📉 Trailing SL (opt.) → the screen “📉 Trailing Stop Loss for DCA bot”.
  • 📉 Trailing SL: preset → the screen “📉 Trailing Stop-Loss strategy” with five options.

Once entered, the buttons show the value: “📈 Trailing TP: 0.5%”, “📉 Trailing SL: 1%”, and the summary shows the lines “📈 Trailing TP: 0.5%” / “📉 Trailing SL: off”. On a running bot trailing cannot be changed.

How to set it up

  1. Press 📈 Trailing TP (opt.) and enter a percentage from 0.01 to 50.00 with a dot. The bot's hint: “As profit grows, the TP target will automatically follow the price with this offset.” The answer: “✅ Trailing TP set: 0.5%.”
  2. Press 📉 Trailing SL (opt.) and enter a percentage. The answer: “✅ Trailing SL set: 1%.”
  3. If needed, change the strategy with the 📉 Trailing SL: preset button: “✅ Trailing SL strategy: % below peak”.
  4. Changed your mind — the 🗑️ Remove button on the same screen: “✅ Trailing TP removed.” / “✅ Trailing SL removed.” If you enter nothing and press "Back", the fixed TP and SL stay.

Example with numbers

Long, average entry price 100.00, Trailing SL 1 % with the % below peak strategy.

EventPeakStop
Entry100.00the regular SL from the settings, for example 93.00
Price rose to 103.00103.00103.00 × 0.99 = 101.97
Price rose to 105.00105.00105.00 × 0.99 = 103.95
Price pulled back to 103.95105.00it fires: the position is closed with a profit of ≈ 3.95 %

Trailing TP of 0.5 % in the same situation: with a peak of 105.00 the TP order sits at 105.00 × 1.005 = 105.53, and the position will close only if price reaches it; on a pullback it is closed by the trailing SL.

Limits and allowed values

ParameterRangeNote
Trailing TP0.01-50 %Fraction with a dot
Trailing SL0.01-50 %Without it the strategy does nothing
Trailing SL strategy5 optionsUntil one is chosen the button shows “preset”
Moving the stopno more than once every 60 s, step at least 0.05 %
Changing it on a live botnoOnly at creation

Common errors and what the bot says

  • “❌ Invalid percentage. Enter a number with a dot (e.g. 2.5).” — a comma was entered, or not a number.
  • “❌ Value out of range. Allowed: 0.01 — 50.” — the percentage is outside the range.
  • Trailing SL is chosen but the stop does not move — check that Trailing SL % is set, not only the strategy, and that price has actually gone into profit from the average.