Series of Expressions

If you need to check a series of expressions, you can use these types of indicators.

EX1: MA1>MA2, RSI1>30, BODY[3]>50 pips, KIJEN1 CROSSUP TENKEN1, ISBULL[1]

As you can see, EX1 consists of a series of 5 expressions in a comma-separated format. ESB will evaluate them in order. It starts with the first expression; if it evaluates to true, it proceeds to the second one. If the second expression is also true, it moves on to the next, and so forth. The output will be true only if all expressions in the series are true. Note that ESB will continue to wait for the expression to be true as long as all previous expressions are true. If any previous expression becomes false, ESB will re-evaluate that expression.

There is another type of expression series called the Expression Machine. It functions similarly to a normal expression series but behaves differently in terms of evaluation. Once it starts checking expression N, it does not consider previous expressions. It acts like a machine that waits for a specific expression to become true before moving to the next state. In the new state, it does not take previous states into account. When the last state becomes true, it returns to the first expression and starts the process again. For example, if EX1 were an Expression Machine, it would wait for MA1 to exceed MA2 and then proceed to check if RSI is greater than 30, regardless of whether MA1 drops below MA2 during this time.