Find Level max CCI

You can use the iHighest () function to find the maximum level of CCI, in a number of candles?
I could use a solution to find the maximum value of the CCI in a number of candles

Either loop through the values and record the highest or

use ArrayMaximum to find the index, then retrieve the value.