|EndValue( ARRAY )
| This function gives the single value (number) of the ARRAY at the end of the selected range. If no range is marked then the value at the last 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.
| 1. Simple commentary:
2. Get the number of bars in the range and calculate some stats for that range:
The EndValue function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.