---
id: faq_item.1318
page_type: faq_article
title: "Can you give some examples of formulas that can be written in the CustomEMA parameter field of the Moonbot terminal strategy?"
description: "In the Moonbot terminal, on the Filters / Base tab, you can enter various formulas in the CustomEMA parameter field, for example: 1) EMA(15m,3)< -1 and EMA(5s,1..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1318?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1318?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1318?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1317?format=md
next: https://moonbot.pro/faq/strategy-settings/1319?format=md
status: published
updated_at: 2026-11-17T22:55:46+03:00
---

# Can you give some examples of formulas that can be written in the CustomEMA parameter field of the Moonbot terminal strategy?

In the Moonbot terminal, on the Filters / Base tab, you can enter various formulas in the CustomEMA parameter field, for example:

1\) EMA(15m,3)\< -1 and EMA(5s,1s)>0.1\
EMA(15m,3)\< -1 = means that there was a decrease: the price 3 seconds ago -1% less than the price 15 minutes ago.\
EMA(5s,1s)>0.1 = means the price increased: the current price is 0.1% higher than it was 5 seconds ago.\
Together, these conditions mean that the detect will take place after a fall that is followed by an increase.

2\) MAX(1h,1s)>0.1 = denotes an over-high: the current price has gone higher than the max of the last hour

3\) MAX(1h,1s)\<-5 = denotes a 5% fall from the high of the last hour

4\) MAX(1h,1s)\<-5 AND MIN(1h,1s)\<0.1 AND MIN(1h,1s)>-0.1 = denotes a 5% fall from the high and are currently located near the bottom

To ensure that this parameter is checked by the strategy, set IgnoreFilters = NO on the general Filters tab, and set IgnoreBase = NO on the Filters / Base tab. A green vertical bar should be visible to the left of the Filters / Base tab, indicating that this tab and the parameters in it are not being ignored.

## 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) / Can you give some examples of formulas that can be written in the CustomEMA parameter field of the Moonbot terminal strategy?

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

Previous: [Is it possible to implement Trailing Buy functionality in the Moonbot terminal?](https://moonbot.pro/faq/strategy-settings/1317?format=md)

Next: [When should the Spread strategy be used?](https://moonbot.pro/faq/strategy-settings/1319?format=md)

## Related

- [When should the Spread strategy be used?](https://moonbot.pro/faq/strategy-settings/1319?format=md)
- [What are the specific parameters of a Spread strategy?](https://moonbot.pro/faq/strategy-settings/1320?format=md)
- [What is "polarity" in a Spread strategy?](https://moonbot.pro/faq/strategy-settings/1321?format=md)
- [How can I check in the log the operation of the "reduce order size" function when the Spread strategy is running?](https://moonbot.pro/faq/strategy-settings/1322?format=md)
- [Can you give me an example of how to set up a Spread with decoding?](https://moonbot.pro/faq/strategy-settings/1323?format=md)
