MAXOF(Vector1, Vector2, [Vector3]…[Vector8])
Returns a vector containing a maximum value of all specified vectors, for up to eight vectors. Vector1 and Vector2 are required and vectors 3 through 8 are optional.
set x = MAXOF(CLOSE, OPEN)
Returns a vector containing the maximum value for each bar, which is either the opening price or the closing price in this example.