---
id: faq_item.1116
page_type: faq_article
title: "I urgently need to cancel all Buy orders in the Moonbot terminal when the trigger key is activated. How can this be done?"
description: "For this purpose, in the Moonbot terminal, on the Triggers Master/Slave tab, use the CancelByTriggerBL parameter and set its checkbox to \"YES\". In this case, al..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1116?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1116?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1116?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1115?format=md
next: https://moonbot.pro/faq/strategy-settings/1117?format=md
status: published
updated_at: 2026-11-15T11:18:46+03:00
---

# I urgently need to cancel all Buy orders in the Moonbot terminal when the trigger key is activated. How can this be done?

For this purpose, in the Moonbot terminal, on the Triggers Master/Slave tab, use the CancelByTriggerBL parameter and set its checkbox to "YES". In this case, all Buy orders will be cancelled if the key recorded in the TriggerKeysBL parameter (analogous to CheckAfterBuy as applied to triggers) is received.

## Navigation

Path: [Main](https://moonbot.pro/?format=md) / [FAQ](https://moonbot.pro/faq?format=md) / [Strategy settings](https://moonbot.pro/faq/strategy-settings?format=md) / I urgently need to cancel all Buy orders in the Moonbot terminal when the trigger key is activated. How can this be done?

Parent section: [Strategy settings](https://moonbot.pro/faq/strategy-settings?format=md)

Previous: [I need to urgently close all open positions when triggered, how can I do this?](https://moonbot.pro/faq/strategy-settings/1115?format=md)

Next: [Does the CancelByTriggerBL setting cancel Pending orders in Moonbot terminal in addition to Buy orders?](https://moonbot.pro/faq/strategy-settings/1117?format=md)

## Related

- [Does the CancelByTriggerBL setting cancel Pending orders in Moonbot terminal in addition to Buy orders?](https://moonbot.pro/faq/strategy-settings/1117?format=md)
- [What are the peculiarities of triggers activation for manual strategy?](https://moonbot.pro/faq/strategy-settings/1118?format=md)
- [Can auto-strategies activate triggers from TriggerKey parameter upon signal triggering (no autobuy)?](https://moonbot.pro/faq/strategy-settings/1119?format=md)
- [I want to activate a Slave strategy after the completion of a trade on the Master Strategy regardless of whether it is in profit or loss, how do I do that?](https://moonbot.pro/faq/strategy-settings/1120?format=md)
- [Is it possible to implement such an algorithm in the Moonbot terminal that when buying one coin, another coin that I need would be bought immediately on the trigger?](https://moonbot.pro/faq/strategy-settings/1121?format=md)
