Property notation and functional notation
So far, the property notation has been used in this help, i.e. with a period and square brackets. It follows the following scheme:
Ausdruck.Funktion[Zusatzparameter1;...;Zusatzparameter]
The input object of the function is placed in front of the function, separated by a dot. If the input object is the input object of the entire formula, it can also be omitted. The parameters of the function can be described by constants, variables or functions.
Beispiel: Property-Schreibweise
Close.GD[200;"exponentiell"]
resp.
GD[200;"exponentiell"]
MM-Talk allows a second notation, the so-called functional notation, in which round brackets are used. The input object is no longer separated by a dot in front of the function, but as the first parameter in the brackets:
Funktion (Eingabeobjekt;Parameter2;...;Parametern+1)
Beispiel: Funktionale Schreibweise
GD(Close;200;"linear")
The close functionis used here as a parameter of the GD function; it returns the close rate of the input object of the entire formula.
Combinations of spellings
In addition to the pure property notation and the pure functional notation, combinations of these two notations are also possible. The following variants provide the same result:
Variante 1
Close(Object).GD[200;"exponentiell"]
The GD functionis shown here in property notation (with the parameters 200 and "exponential"). The input object, i.e. the close functionin functional notation, is placed in front.
Variante 2
GD(Close(Object);200;"exponentiell")
"Real" functional notation. The GD functionis written in functional notation; the input object, namely the close function(in functional notation), is written in brackets first, followed by the parameters 200 and "exponential".
Variante 3
GD(Object.Close[];200;"exponentiell")
The GD functionis shown here in functional notation; the input object, namely the close function(in property notation with the input object"Object" and without set parameters), is shown first in brackets, followed by the parameters 200 and "exponential".