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.