Hold
|
Trading system toolbox |
SYNTAX | Hold( EXPRESSION, periods ) |
RETURNS | ARRAY |
FUNCTION | Holds a "true" result of EXPRESSION for the specified number of periods. This true result is held true over the number of periods specified even if a "false" result is generated. |
EXAMPLE | hold( cross(rsi(14),70),5 ) |
SEE ALSO |
The Hold function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.