OPEN-SOURCE SCRIPT

GMS: TSI Indicator (ROC)

5589
This is based on the original TSI Indicator that's already built in.

The PC is originally taken as the change between the current price - the previous price. I substituted that with Rate of Change. Using a 1 period ROC it's quite similar to the TSI Indicator and increasing the length results in a smoother TSI.

I hope it helps,

Andre

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.