BeginValue

Date/Time 
SYNTAX  BeginValue( ARRAY ) 
RETURNS  NUMBER 
FUNCTION  This function gives the single value (number) of the ARRAY at the beginning of the selected range. If no range is marked then the value at the first bar is returned. To select the range you have to double click in the chart at the beginning of the range and then double click in the chart at the end of the range. Then > < markers will appear above date axis. 
EXAMPLE  1. Simple commentary:
2. Get the number of bars in the range and calculate some stats for that range:

SEE ALSO  ENDVALUE() function 
The BeginValue function is used in the following formulas in AFL online library: