ACCUM |
UTIL(Method, ARRAY INPUT) |
Function |
ARRAY INPUT can be either an
array of bars or a formula variable array of data. |
Example |
UTIL(ACCUM, Close) |
Normal |
UTIL(Method, ARRAY INPUT) |
Function |
ARRAY INPUT can be either an
array of bars or a formula variable array of data. |
Example |
UTIL(Normal, Close) |
ADD |
UTIL(Method, ARRAY INPUT, DOUBLE) UTIL(Method, ARRAY INPUT, ARRAY INPUT2) |
Function |
Adds the values of the ARRAY INPUT and ARRAY INPUT2/DOUBLE value. ARRAY INPUT and ARRAY INPUT2 can be either an array of bars or a formula variable array of data. The DOUBLE is a number. |
Example |
UTIL(ADD, Close, Open) or
UTIL(ADD, Close, 45.5) |
DIV |
UTIL(Method, ARRAY INPUT, DOUBLE) UTIL(Method, ARRAY INPUT, ARRAY INPUT2) |
Function |
Divides the ARRAY INPUT value by the ARRAY INPUT2/DOUBLE value. ARRAY INPUT and ARRAY INPUT2 can be either an array of bars or a formula variable array of data. The DOUBLE is a number. |
Example |
UTIL(DIV, Close, Open) or UTIL(DIV, Close, 45.5) |
MUL |
UTIL(Method, ARRAY INPUT, DOUBLE) UTIL(Method, ARRAY INPUT, ARRAY INPUT2) |
Function |
Multiplies the ARRAY INPUT value by the ARRAY INPUT2/DOUBLE value. ARRAY INPUT and ARRAY INPUT2 can be either an array of bars or a formula variable array of data. The DOUBLE is a number. |
Example |
UTIL(MUL, Close, Open) or UTIL(MUL, Close, 45.5) |
SUB |
UTIL(Method, ARRAY INPUT, DOUBLE) UTIL(Method, ARRAY INPUT, ARRAY INPUT2) |
Function |
Subtracts the ARRAY INPUT2 value from the ARRAY INPUT/DOUBLE value. ARRAY INPUT and ARRAY INPUT2 can be either an array of bars or a formula variable array of data. The DOUBLE is a number. |
Example |
UTIL(SUB, Close, Open) or UTIL(SUB, Close, 45.5) |
COMP |
UTIL(Method, ARRAY INPUT,
DOUBLE, OPERATOR) UTIL(Method, ARRAY INPUT, ARRAY INPUT2, OPERATOR) |
Function |
ARRAY INPUT and ARRAY INPUT2 can be either an array of bars or a formula variable array of data. The DOUBLE is a number. OPERATOR is a relational operator. |
Example |
UTIL(COMP, Close, Open, LTEQ) or UTIL(COMP, Close, 45.5, GTEQ) |
COUNTER |
UTIL(Method, ARRAY INPUT) UTIL(Method, ARRAY INPUT, ARRAY INPUT2) |
Function |
ARRAY INPUT and ARRAY INPUT2 can be either an array of bars or a formula variable array of data. |
Example |
UTIL(COUNTER, Close) or UTIL(COUNTER, Close, reset_array) |
REF |
UTIL(Method, ARRAY INPUT, PERIOD) UTIL(Method, DOUBLE) |
Function |
ARRAY INPUT can be either an
array of bars or a formula variable array of data. PERIOD is the number
of bars to offset backwards. DOUBLE is used to create a REF of one
value. |
Example |
UTIL(REF, Close, 0) for no
offset, UTIL(REF, Close, 10) to offset 10 bars backwards UTIL(REF, 5.5) to create a plot of a single value. |
PER |
UTIL(Method, ARRAY INPUT) |
Function |
ARRAY INPUT can be either an
array of bars or a formula variable array of data. |
Example |
UTIL(PER, Close) |
COLOR |
UTIL(Method, ARRAY INPUT, COLOR
ARRAY, VALUE, COLOR) |
Function |
ARRAY INPUT is an array of
values. COLOR ARRAY is the array the color will be applied to. VALUE is
the number used to compare in the ARRAY INPUT. COLOR is the color to
use. |
Example |
UTIL(COLOR, bool_array, bars, 1,
red) |