IsEmpty
|
Miscellaneous functions |
SYNTAX | IsEmpty( ARRAY ) |
RETURNS | ARRAY |
FUNCTION | returns 1 (or 'true') when given point in array is {empty} Note: {empty} value is used internaly by AFL to mark bars when the value is not available - for example for the first 20 bars the value of 20-day simple moving average is not available ({empty}) IsNull is a synonym for IsEmpty. It is suggested to use IsNull in new formulas, because of naming consistency with Null constant. |
EXAMPLE | movagv = ma( close, 30 ); |
SEE ALSO | ISEMPTY() function , ISNAN() function , ISNULL() function , ISTRUE() function |
The IsEmpty function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.