LastVisibleValue
- get last visible value of array

Indicators
(AFL 3.40)


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

In other (non-indicator) modes the function returns array element with subscripts of BarCount-1.

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 FirstVisibleValue() function , HighestVisibleValue() function , LowestVisibleValue() function

References:

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

More information:

Updated on-line reference