Function Expressions

The next group is function expressions, which produce a numerical result, as shown in EX1.

EX1: 2 * 5 + 13 – 8 / 4

In EX2, you want to calculate the value of IND1 raised to the power of 2, then divide by 4.

EX2: (IND1 ^ 2) / 4

In the second part of EX3, we use the value of an indicator to calculate the absolute value of the difference between MA1 and MA2 from 7 candles ago.

EX3: MathEXP[0.1] – MathABS[MA1[7] – MA2[7]]