Use of slope function


please give me explanation of SLOPE function

SLOPE(CLOSE,30)>0.3 from trade script details I don’t understand.

if I filter stocks with above example . how filtered stocks differs from unfiltered stocks.

You can use better examples for explanation

Thank you

The syntax of  Slope is

Slope(Vector, Periods)


SLOPE(CLOSE, 30) > 0.3

Evaluates to true when the slope is greater than 0.3.

Here slope calculates the linear regression slope of close values of last 30 candles/periods and it returns the slope value,

the above solve value is greater than 0.3