LowestVisibleValue
- get the lowest value within visible chart area

Indicators
(AmiBroker 5.30)


SYNTAX LowestVisibleValue( array )
RETURNS NUMBER
FUNCTION The function calculates single value (not array) representing lowest value of given array within VISIBLE range (on chart).

Should be applied only in indicators as only indicators have concept of "visible" bars. The function will return Null value if no visible bars are present. The function is equivalent to the following coding:

function LowestVisibleValueEquivalent( array )
{
 bv =
Status("barvisible");
 ll =
1e8;
 for( i = 0; i < BarCount; i++ )
 {
  
if( bv[ i ] AND array[ i ] < ll ) ll = array[ i ];
 }
 return ll;
}

EXAMPLE
SEE ALSO HighestVisibleValue() function

References:

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

More information:

See updated/extended version on-line.