---
id: faq_item.1311
page_type: faq_article
title: "In which parameters are EMA formulas used?"
description: "In the Moonbot terminal, EMA formulas can be entered in the following parameter fields: 1) CustomEMA on the Filters / Base tab of the strategy settings 2) SellB..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1311?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1311?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1311?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1310?format=md
next: https://moonbot.pro/faq/strategy-settings/1312?format=md
status: published
updated_at: 2026-11-15T16:12:40+03:00
---

# In which parameters are EMA formulas used?

In the Moonbot terminal, EMA formulas can be entered in the following parameter fields:\
1\) CustomEMA on the Filters / Base tab of the strategy settings\
2\) SellByCustomEMA on the Sell order tab of the strategy settings

In the field of these parameters, one or more formulas are entered in the line in the form: EMA(X,Y) > A AND EMA(p,q) \< B AND ..., that is, any number of formulas separated by the words AND or OR (the order of application is algebraic: first, all ANDs are checked against each other, then ORs).

Example: A AND B OR C AND D means one of two things: (A AND B) or (C AND D). \
If the conditions of the formulas are met in the CustomEMA parameter, the strategy is triggered. \
If the conditions of the formulas are met in the SellByCustomEMA parameter, the position is sold using Panic Sell.

## 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) / In which parameters are EMA formulas used?

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

Previous: [When should the EMA strategy be used?](https://moonbot.pro/faq/strategy-settings/1310?format=md)

Next: [What types of formulas can be written in the CustomEMA and SellByCustomEMA parameter fields?](https://moonbot.pro/faq/strategy-settings/1312?format=md)

## Related

- [What types of formulas can be written in the CustomEMA and SellByCustomEMA parameter fields?](https://moonbot.pro/faq/strategy-settings/1312?format=md)
- [What affects the calculation of MAvg, the average market price?](https://moonbot.pro/faq/strategy-settings/1313?format=md)
- [What do the common values that are written in the parameter formula mean, for example, for EMA(X,Y)>A?](https://moonbot.pro/faq/strategy-settings/1314?format=md)
- [What is the methodology used to calculate and limit the EMA intervals?](https://moonbot.pro/faq/strategy-settings/1315?format=md)
- [Can I visually see the calculated points of the EMA parameters on a chart?](https://moonbot.pro/faq/strategy-settings/1316?format=md)
