PINE LIBRARY

Slope_TK

3 163
Library "Slope_TK"
This library calculate the slope of a serie between two points

The serie can be ta.ema(close,200) for example
The size is the number of bars between the two points for the slope calculation, for example it can be 10

slope_of_ema200 = slope(t a.eam(close, 200) , 10 )

slope( float serie, int size )

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.