---
id: faq_item.1314
page_type: faq_article
title: "What do the common values that are written in the parameter formula mean, for example, for EMA(X,Y)>A?"
description: "The values in each formula of the form EMA(X,Y)>A, mean: 1) X,Y - time: a number after which there is a letter s or m or h (respectively: seconds, minutes, hour..."
section: faq
category: "Strategy settings"
url: https://moonbot.pro/faq/strategy-settings/1314?format=md
locale: en
alternate_ru: https://moonbot.pro/ru/faq/strategy-settings/1314?format=md
alternate_zh: https://moonbot.pro/zh/faq/strategy-settings/1314?format=md
parent: https://moonbot.pro/faq/strategy-settings?format=md
previous: https://moonbot.pro/faq/strategy-settings/1313?format=md
next: https://moonbot.pro/faq/strategy-settings/1315?format=md
status: published
updated_at: 2026-11-15T16:12:40+03:00
---

# What do the common values that are written in the parameter formula mean, for example, for EMA(X,Y)>A?

The values in each formula of the form EMA(X,Y)>A, mean:\
1\) X,Y - time: a number after which there is a letter s or m or h (respectively: seconds, minutes, hours) or, if there is no letter, then the number is considered seconds, for example, in the formula EMA(30m,1)>1, X=30 minutes and Y = 1 second.\
2\) Sign > (more) or sign \< (less)\
3\) A - value of what to compare it to (in percentage)

Principle of calculation: the average price Y seconds ago is compared to the average price X seconds ago: \
Price(Y) / Price(X) > 1 + A / 100\
In other words, Price(Y) is greater than Price(X) by A percent or less if there is a sign "\<" (less) in the formula.

## 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 do the common values that are written in the parameter formula mean, for example, for EMA(X,Y)>A?

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

Previous: [What affects the calculation of MAvg, the average market price?](https://moonbot.pro/faq/strategy-settings/1313?format=md)

Next: [What is the methodology used to calculate and limit the EMA intervals?](https://moonbot.pro/faq/strategy-settings/1315?format=md)

## Related

- [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)
- [Is it possible to implement Trailing Buy functionality in the Moonbot terminal?](https://moonbot.pro/faq/strategy-settings/1317?format=md)
- [Can you give some examples of formulas that can be written in the CustomEMA parameter field of the Moonbot terminal strategy?](https://moonbot.pro/faq/strategy-settings/1318?format=md)
- [When should the Spread strategy be used?](https://moonbot.pro/faq/strategy-settings/1319?format=md)
