Limitations in the script language
Previous Topic  Next Topic 

Limitations in the script language



You cannot write things exactly like you would in regular mathematical expressions. 5*2=10, 3-H>8 (3 minus H is larger than 8)

Instead, use the mathematical functions, for example Add() and Sub().

The only mathematical term that can be used is  '-' (minus) to indicate negative integers.


Parenthesis depht, memory referencies and graphical limitations



Expressions with functions can reach up to 10 parenthesis levels of depth. You can build up to 512 of these expressions, a so called memory reference.


Intraday prefix to run scripts in intraday resolution cannot be used in the Calculation Explorer that only works with EOD prices, or daily resolution. In all other occasions, intraday prefixes are ok to use.

However, a calculation can be run anytime on a day to find out which instruments have triggered an alert "right now".


The graphical module can draw values between -32000->+32000. Some results may need to be scaled down to be kept within a reasonable limit.