What is the purpose of the getHighestOnArray function?
The getHighestOnArray function is designed to find the highest value in an array within a specified period.
It can be used in various technical analysis calculations to identify the highest value in a data series.