Bot commands · Take-profit
/setTrailingCallback: how far a trailing take-profit lets the price pull back
/setTrailingCallback sets the pullback from the best price that closes a trailing take-profit, from 1% (the default) to 5% in steps of 0.1. It is used only with /setTakeProfitType TRAILING.
- Command
/setTrailingCallback- Also on this page
/myTrailingCallback- Who can use it
- VIP members with auto-trading switched on (/autotrade)
- Where
- In your chat with @hafizebot on Telegram
A trailing take-profit starts once the price is 1% beyond the signal's target. From then on it follows the best price and closes the position when the price pulls back by your callback. With LIMIT take-profits this setting does nothing.
Examples
/setTrailingCallback 3
Trailing callback updated to 3%.
/myTrailingCallback
Your Trailing callback: 1%
Values
| Callback | What it means |
|---|---|
| 1% (default) | Closes soon after the price turns: keeps most of what the move reached, ends early on a jumpy coin. |
| 2% to 4% | A middle ground. |
| 5% | Lets a strong move run further, and gives back more when it turns. |
Questions
Does a change move my open take-profits?
No. Take-profits placed from now on use the new callback; open ones keep theirs. With merged take-profits (/combineTakeProfits), an add to a coin re-places its merged take-profit, which then uses the new callback.
Which callback is best?
None is best for every coin: a wider one catches more of a long run and gives back more on a reversal. We do not score trailing results on the performance page, which counts every signal at its own target.
Updated 2026-11-07.
Related commands
- /setTakeProfitType/setTakeProfitType chooses how HafizeBot takes profit: LIMIT (default) closes the position with a fixed order at the signal's target; TRAILING starts once the target is passed, follows the price and closes on a pullback.
- /combineTakeProfits/combineTakeProfits yes (the default) makes HafizeBot close a coin you added to with one take-profit at the size-weighted target; no keeps a separate take-profit order for each entry.
- /setStopLoss/setStopLoss sets how far the price may move against an entry before the bot closes it, 0 to 90%, 10 by default: a price move, not a share of your margin (50% at 3x is 150% of it); 0 means no stop, and it must be closer than your liquidation price.
More help
- Limit or trailing take-profit — which should I use?
- Take-profit commands: type, merging and distance
- All bot commands
Not a member yet? Try VIP free for 3 days, auto-trading included.
A question this page does not answer? Send /support to @hafizebot, or write to [email protected]. Futures trading carries a high risk of loss; nothing here is investment advice.