Skip to main content
Skip table of contents

Infix functions

Infix functions are mathematical functions that stand between two objects and link the two objects together (e.g. "plus", "minus"). The most frequently used functions can be written with function abbreviations, i.e. with the familiar mathematical symbols, e.g. "today+100". There are also function abbreviations for logical expressions ("And", "Or", "Xor" etc.). Which spelling you prefer is up to you:

CODE
CLOSE.GD[25] >= CLOSE.GD[200]

CLOSE.GD[25].GREATEREQUAL[CLOSE.GD[200]]


With infix notation, no brackets are required between the arguments.


The following abbreviations for infix functions are available in MM-Talk:

InfixAbbreviationFunction

Plus

+

Addition

Minus

-

Subtraction

Mult

*

Multiplication

Div

/

Division

Greater

&gt

Larger than

GreaterEqual

>=

Larger equals

Less

<

Smaller than

LessEqual

<=

Smaller equal

Equal

=

In a moment

NotEqual

<>

Unequal

And

And

Logical and

Or

Or

Logical Or

Xor

Xor

Excluding or

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.