If you've ever been confused because Ta-Lib RSI differs from TradingView's RSI...
Look no further than here which instead of using the Rolling Moving Average, will instead use the Simple Moving Average
Library "ta"
█ OVERVIEW
This library holds technical analysis functions calculating values for which no Pine built-in exists.
Look first. Then leap.
█ FUNCTIONS
cagr(entryTime, entryPrice, exitTime, exitPrice)
It calculates the "Compound Annual Growth Rate" between two points in time. The CAGR is a notional, annualized growth rate that...