Skip to content

Kill switch: drawdown protection ​

The kill switch is a master switch for an exchange account. You set a maximum drawdown in percent; if the account balance falls by that percent from its own peak, the bot pauses the Grid and DCA bots of this account itself, stops opening new signal trades on it and sends you a message.

What it is ​

The screen in the bot describes the protection like this: “Drawdown protection for each exchange account: if an account drops by the set percent from its own peak, its Grid and DCA bots are paused and its Signal bots stop opening new trades.”

This is a last-line protection. It does not replace the Stop-Loss in trades or the protections of the bots themselves; it insures you against a situation where several bots of one account go into the red at the same time.

Each account separately. The drawdown is counted for each exchange account from its own peak: a loss on one account is not “diluted” by growth on another, and a protection that fired on one account does not touch the bots of other accounts. There is one limit for all accounts. If the account balance grew after you switched the protection on, the new peak becomes the reference point. If several keys are connected to one exchange account (for example, a separate key for a Signal bot and for a Grid bot), it is one account.

Deposits and withdrawals do not count as a drawdown: the bot sees transfers to and from the trading account in the exchange's log (Bybit, BingX) and recalculates the reference point so that a transfer does not change the drawdown percent. A transfer from the account where the bots trade to another account on the same exchange counts as a withdrawal too. You do not need to switch the protection off before a withdrawal. After a transfer the check may wait a minute or two until it shows in the balance. A transfer in a coin other than USDT and USDC (for example, BTC to the account) cannot be counted in dollars — then the current balance becomes the reference point.

Where it is in the bot ​

🏠 Home → 🛡 Kill switch (or the /killswitch command). At the top there is the status: off, on or fired, the limit and a line for each account — “• MY_FUTURES: peak …, now …, drawdown … %”; for the account where it fired — “🔴 MY_FUTURES: fired …, drawdown … %”. Right after you switch it on, instead of the amount there is “peak is being recorded — within two minutes”. When the protection is off, the status is followed by “Pick a drawdown limit:”. The buttons:

ButtonWhat it does
🔄 Reset triggerOnly after it fires, in the first row: clear the trigger on all accounts and take a fresh balance snapshot
10 % · 15 % · 20 % · 30 %Set the limit with one tap — and switch the protection on if it was off. The current limit is marked with ✅
✏️ Own %Enter your own limit as a number from 1 to 99.99
🔒 Turn offSwitch the protection off; the button is there only while the protection is on

At the bottom — ‹ Back and 🏠 Home.

The same actions are available as commands in the main bot: /set_kill_switch 25 sets the limit, /disable_kill_switch switches it off, /kill_switch_status shows the status (with the same text as the screen). These commands are also listed on the ⋯ More → ❓ Help screen.

On the site ​

The kill switch is also managed from the web cabinet app.sync.trade: Settings → Kill switch — turn on, change the limit, reset the trigger, turn off; the state and a line for each account are shown there too: peak, now, drawdown and where it fired. More in Site settings.

How to set it up ​

  1. Open 🏠 Home → 🛡 Kill switch.
  2. Tap one of the limits — 10 %, 15 %, 20 % or 30 %: it is set right away. Need another percent — ✏️ Own %: the bot asks you to send a number from 1 to 99.99 — for example, 25 or 12.5. Send a number, decimals allowed, with a dot or a comma: 25, 12.5, 12,5.
  3. A confirmation appears under the status: “✅ Limit: 20 %” — this is the limit that was saved, rounded to hundredths: enter 12.345 and 12.35 % is saved.
  4. The status changes to “🟢 Kill switch is on · limit 20 %” with the account lines below it. The peak is shown in money, for example “1 250.40 $”. The bot checks the balance once a minute and remembers the reference point of each account when two checks in a row confirm it — so for the first minute or two the peak is “being recorded”.

Changing the limit works the same way: tap the button of another limit or ✏️ Own %. Keep in mind: a new limit starts the count anew — at the nearest check the bot takes a fresh balance snapshot, and the peak is counted from it. Tapping the limit already marked with ✅ changes nothing: the bot replies «ℹ️ The limit is already 20 % — nothing changed, the balance peak is kept.»

Statuses: ⚪ off · 🟢 on · 🔴 fired.

What stops and what does not ​

Everything below applies only to the account where it fired — bots of other accounts keep working as usual.

Bots of the accountWhat happens
Grid bots — running, paused, “out of range”A hard pause — all grid orders on the exchange are cancelled. A bot that was “out of range” no longer resumes by itself when the price comes back
Grid bots blocked by an administrator or in the “Error” statusThe orders on the exchange are cancelled, the status does not change
DCA bots — running, in a cooldown, starting a new cyclePaused
The open cycle of any DCA bot, including one that was already pausedThe averaging (safety) orders are removed, Take-Profit and Stop-Loss stay — the position no longer grows and closes by TP or SL. If nothing has been bought in the cycle yet, the whole cycle is cancelled and does not count as a cycle
DCA bots waiting for a start conditionWill not start until you reset the trigger; after the reset they wait for their condition again
Signal botsDo not open new trades — the signal is skipped, a message about it comes (at most once an hour per bot)
Open signal tradesManaged as usual — with their stops and targets

Until the trigger is reset, Grid and DCA on this account do not trade:

  • ▶️ Resume, ▶️ Start, 🎯 Activate now, Start manually and recreating the grid in the app do not work — the bot replies “🔴 The kill switch has fired on this bot account: until the trigger is reset, Grid and DCA bots cannot be started or created on it…”; a new Grid or DCA bot cannot be created on this account either;
  • a DCA bot does not start a new cycle by itself: neither after a Take-Profit nor after a cooldown — it goes into a pause;
  • once a minute the bot re-checks: if some bot still kept working (for example, the exchange did not answer or the server was restarting when the kill switch fired), it is paused and its remaining orders are cancelled.

A DCA averaging order that has already been partially filled is removed too: the part bought stays in the position, the Take-Profit and Stop-Loss are recalculated for the whole position from the new average price, and the bot does not buy the rest.

A signal skipped because of the kill switch is reported like this: “🛡 Signal not opened: the kill switch fired on account «…» Channel «…», bot «…». Until the trigger is reset, Signal bots of this account do not open new trades; open trades are managed as usual.” The kill switch stops the bots and removes the orders, but it does not trade on its own: what to do with the positions left on the exchange is up to you.

Example with the numbers ​

The highest balance the account reached is $2 000, the limit is 25 %. The threshold: 2 000 × 0.25 = $500 of drawdown, that is, it fires at an account balance of $1 500 and below. The bot checks the balance once a minute; it fires when two checks in a row show $1 500 or less. An urgent message arrives:

🚨 Kill switch fired on account MY_FUTURES Drawdown 25 % from the peak 2 000.00 $ (now 1 500.00 $) — limit 25 %.

Grid and DCA bots of this account are paused: grid orders and DCA averaging orders are removed, TP and SL of open cycles stay. Signal bots of this account do not open new trades, open trades are managed as usual. Bots of other accounts keep working.

To continue — «🔄 Reset trigger» in «🛡 Kill switch», then start the bots.

The second line shows the actual drawdown, the highest balance the account reached (the drawdown is counted from it), the current balance and the limit. Under the message there is the 🛡 Kill switch button: it opens the kill switch section in the app. What to do next is in the article How drawdown is counted and how to reset the trigger.

Limits and allowed values ​

ParameterValue
Drawdown limit1.00 – 99.99 %: the 10, 15, 20, 30 % buttons or your own percent — from 1 to 99.99, decimals allowed; extra decimal places are rounded to hundredths. One limit for all accounts
How often the balance is checkedOnce a minute (60 seconds)
The initial snapshotTaken by two checks in a row after you switch the protection on, change the limit or reset the trigger (1–2 minutes)
What is countedThe balance of each exchange account separately, from its highest balance reached; keys of one account are one account; deposits and withdrawals do not count as a drawdown (Bybit, BingX), a transfer to another account on the same exchange counts as a withdrawal
When it firesWhen the account drawdown is over the limit on two checks in a row — that is, about a minute after the first check saw it
Whom it stopsOnly the bots of the account where it fired: Grid bots (orders are cancelled in any status) and DCA bots (averaging orders of the open cycle are removed, TP and SL stay); its Signal bots do not open new trades, open trades are managed
ResetClears the trigger on all accounts at once
The exchange does not return the transfer logThe check waits up to 10 minutes; then it goes on without accounting transfers — a deposit or a withdrawal at that time may be taken for a trading result
The exchange does not return the balance of one of the accountsThat account is skipped in the check, the others are checked as usual. At least 30 minutes in a row — the message “Kill switch cannot check your balance right now” (the reminder comes at most once a day)
The account key is rejected by the exchange (expired, deleted, no permissions)After 15 minutes of confirmed rejections the account is no longer checked — the message “Kill switch: account not counted”; if there are no other accounts — “Kill switch is not checking drawdown”. After the key is updated the account is checked again
A new accountStarts from its own balance snapshot; the drawdown of other accounts is not carried over to it

Common mistakes and what the bot says ​

  • “❌ Value out of range. Allowed: 1.00 – 99.99” — you entered 0, 100 or more.
  • “❌ Could not parse number. Enter an integer or decimal between 1 and 99.99 (e.g. 25 or 12.5).” — there are letters in the text after ✏️ Own % or in the command. A percent sign does no harm: the bot understands 25%.
  • “ℹ️ Usage: /set_kill_switch <percent> Example: /set_kill_switch 25 Allowed: 1.00 – 99.99” — the command was sent without a number.
  • “ℹ️ Kill switch is already off.” — the /disable_kill_switch command was sent while the protection was already off.
  • “❌ An error occurred. Please try later or contact support.” — a temporary failure; repeat in a minute, and if it happens again write to support.