How Can We Help?

MAX Function

You are here:
< All Topics

MAX(Vector, Periods) 

Returns a vector containing a running maximum, as specified by the Periods argument. The values represent the maximum value for each window. 

Example: 

set X = MAX(CLOSE, 10)
Set BUY = HIGH > X 

Returns a vector of maximum values based on a 10- period window.

Table of Contents