---
id: faq_item.1205
page_type: faq_article
title: "I want to sell a position in the Moonbot terminal based on the fulfilment of the EMA formula condition. How can I do this?"
description: "In the settings of the Moonbot terminal strategy, on the Sell order tab, there is a parameter called SellByCustomEMA, in which you specify the desired EMA formu..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1205?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1205?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1205?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1204?format=md
next: https://moonbot.pro/faq/strategy-settings/1206?format=md
status: published
updated_at: 2026-11-17T22:50:12+03:00
---

# I want to sell a position in the Moonbot terminal based on the fulfilment of the EMA formula condition. How can I do this?

In the settings of the Moonbot terminal strategy, on the Sell order tab, there is a parameter called SellByCustomEMA, in which you specify the desired EMA formula. If the condition is met, the strategy activates Panic Sell and sells the open position.

## 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 want to sell a position in the Moonbot terminal based on the fulfilment of the EMA formula condition. How can I do this?

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

Previous: [What is the SellLevelAdjust parameter in the strategy settings?](https://moonbot.pro/faq/strategy-settings/1204?format=md)

Next: [What is special about the SellByCustomEMA parameter, and can you give an example of an EMA formula for selling an open position in the Moonbot terminal?](https://moonbot.pro/faq/strategy-settings/1206?format=md)

## Related

- [What is special about the SellByCustomEMA parameter, and can you give an example of an EMA formula for selling an open position in the Moonbot terminal?](https://moonbot.pro/faq/strategy-settings/1206?format=md)
- [What is the UseSignalStops parameter in the strategy settings for?](https://moonbot.pro/faq/strategy-settings/1207?format=md)
- [I want to place a stop loss on a strategy, how do I do this?](https://moonbot.pro/faq/strategy-settings/1208?format=md)
- [Why is my stop loss not set when I buy a coin with a strategy in Moonbot?](https://moonbot.pro/faq/strategy-settings/1209?format=md)
- [Why in the Moonbot terminal when buying a coin in long position using the strategy with activated Stop Loss Panic Sell immediately occurs?](https://moonbot.pro/faq/strategy-settings/1210?format=md)
