FirstVisibleValue
- get first visible value of array

Indicators
(AmiBroker 5.40)


SYNTAX FirstVisibleValue( array )
RETURNS NUMBER
FUNCTION When used in charts / indicators /interpretation the function returns the values of array at first visible bar.

In other (non-indicator) modes the function returns array elements with subscripts of 0.

Note that these functions do not affect QuickAFL, so LastVisibleValue may be used instead of LastValue. These functions are intended to complement functionality already available via HighestVisibleValue and LowestVisibleValue.

EXAMPLE x = C;
Plot( x, "x", colorRed );
Plot( FirstVisibleValue( x ), "fvv", colorGreen );
Plot( LastVisibleValue( x ), "lvv", colorBlue );
SEE ALSO HighestVisibleValue() function , LowestVisibleValue() function , LastVisibleValue() function

References:

The FirstVisibleValue function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.