How Can We Help?
Slope
Slope(Vector, Periods)
Overview
Returns the linear regression slope value for the data being analyzed over the specified number of periods. Values oscillate from negative to positive numbers.
Example
set BUY = SLOPE(CLOSE, 30) > 0.3
Evaluates to buy when the slope is greater than 0.3.