Bot commands · Size, leverage and stop-loss

/setStopLoss: set the stop-loss for HafizeBot trades

/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.

Command
/setStopLoss
Also on this page
/myStopLoss
Who can use it
VIP members with auto-trading switched on (/autotrade)
Where
In your chat with @hafizebot on Telegram

The stop-loss is a price move from your entry, not a share of your margin: a 20% stop on a long closes it when the price is 20% below the entry. What that costs is the stop times your leverage, as a share of the trade's margin: 20% at 2x is 40% of the margin, and 50% at 3x is 150%, more than all of it. The bot says this share whenever you set or look at your stop. Your own stop is placed only while /setStopType is SINGLE or COMBINED; OFF turns off your own stop, and a trade rule's stop is still placed.

Examples

/setStopLoss 20
Stop loss updated to 20%.
The stop is a price move from your entry, not a share of your margin: at 2x a 20% move is 40% of a position's margin.

/setStopLoss on its own asks for the value and says what each 1% of stop costs at your leverage.

On cross margin, a stop that costs more than the whole margin is saved with a warning, never refused:

/setStopLoss 50

with 3x leverage on cross margin:

Stop loss updated to 50%.
Warning: the stop is a price move from your entry, not a share of your margin. At 3x a 50% move is 150% of a position's margin, more than all of it, and with cross margin the rest of the loss comes from your futures balance. 23.3% or less keeps each loss inside the position's margin.

Send the percent as a whole number: 20 means 20%, not 0.2. A tiny value gets a warning, because ordinary price noise would close nearly every trade:

/setStopLoss 0.2

The bot saves it and asks whether you meant 20%, with the command to send.

On isolated margin, a stop that liquidation would always reach first is refused:

/setStopLoss 20

with 10x leverage:

A 20% stop cannot work at 10x with isolated margin: Binance liquidates the position after a move of about 10%, before the stop is ever reached. Send a stop of 7% or less, or lower the leverage first (/setLeverage).
/myStopLoss
Your Stop loss: 20% price move, 40% of the margin at 2x

Values

Setting Value
Range 0 to 90 (%)
Starts at 10%, one stop per entry (earlier accounts: 30% if opened from 11 October 2026, 35% from 8 October, 25% if opened 3 to 7 October, none before that)
Largest stop that works on isolated margin 35% at 2x, 14% at 5x, 7% at 10x, 3.5% at 20x

Questions

Why didn't my stop-loss trigger?

Usually because no stop order was placed: the stop type is OFF or the stop is 0 (OFF turns off your own stop; a trade rule's stop is still placed). /setup shows "Stop-loss: none" then. Other causes are on how the stop-loss works and stop not placed.

What does a losing trade cost at my stop?

Margin × leverage × stop. 5 USDT at 2x with a 10% stop loses about 1 USDT before fees and slippage, 20% of the trade's margin. /summary does the sum for your settings.

I want to lose at most half my margin. What do I send?

The stop is a price move, so divide the share of the margin by your leverage: half the margin at 2x is a 25% stop, at 5x a 10% stop. Sending 50 at 5x would mean a 50% price move, 250% of the margin: the bot refuses it on isolated margin, where liquidation comes first, and on cross it costs more than the whole margin.

Can shorts and longs have different stops?

Yes, on Tier 2 and 3, with a trade rule: /setRule shorts stop 30.

Updated 2026-10-14.

Related commands

More help

Not a member yet? Try VIP free for 7 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.