Hi Mr. Nicolas,
i was wondering what is the syntax of arraymax command.
For example i want to find the max close of the last 20 consecutive close-price of a stock.
How do i syntax the command?
Thank you!
Try …
maxclose20 = Highest[20](Close)
ArrayMax, as defined at https://www.prorealcode.com/documentation/arraymax/, will return the maximum value contained in all elemets af an array:
MaxValue = ArrayMax($MyArray) //$MyArray is the array to be searched