---
id: faq_item.1206
page_type: faq_article
title: "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?"
description: "In the Moonbot terminal, on the Sell order tab of the strategy settings, you can enter various EMA condition formulas in the SellByCustomEMA parameter, but unli..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1206?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1206?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1206?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1205?format=md
next: https://moonbot.pro/faq/strategy-settings/1207?format=md
status: published
updated_at: 2026-11-15T11:45:28+03:00
---

# 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?

In the Moonbot terminal, on the Sell order tab of the strategy settings, you can enter various EMA condition formulas in the SellByCustomEMA parameter, but unlike other filters, the sale is triggered when the EMA conditions are met, rather than when they are not met.

Example: SellByCustomEMA=EMA(3,1)>1 means that you need to sell the position on the rise when the rise in 3 seconds is more than 1%.

## 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) / 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?

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

Previous: [I want to sell a position in the Moonbot terminal based on the fulfilment of the EMA formula condition. How can I do this?](https://moonbot.pro/faq/strategy-settings/1205?format=md)

Next: [What is the UseSignalStops parameter in the strategy settings for?](https://moonbot.pro/faq/strategy-settings/1207?format=md)

## Related

- [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)
- [I need a faster stop loss reaction to close the position, is there any solution for that?](https://moonbot.pro/faq/strategy-settings/1211?format=md)
