Noldo

Function StochRSI

Noldo Updated   
Stochastic Relative Strength Index developed by Tushar Chande and Stanley Kroll.
This script has been written to eliminate the period variable.(Integer)
Thus, it can be used comfortably in adaptive period scripts ! (For example : Adaptive Moving Average , KAMA , FAMA .. etc. )
All efforts goes to ChaosTrader (www.tradingview.com/...t/I6rPLr4c-StochRSI/) ,
RicardoSantos (tradingview.com/scri...tion-Highest-Lowest/) ,
Hpotter for barcolor codes (iff) (www.tradingview.com/...w-Kurtosis-Backtest/)

I hope it will help your new ideas . Best regards ! Noldo .
Release Notes:
Dear users, I made a big mistake. I have analyzed the Stochastic Oscillator function instead of StochRSI.This is the correct function. Also added alarms. Best regards !
Release Notes:
Added some values ​​for better observation.
Release Notes:
UPDATE :The rsi code pattern prepared by Tradingview is used. (Line 65 ) Because it is much more efficient where the period is less than 1.
Release Notes:
This is the most effective version than the others.
Release Notes:
This is to avoid distress if the variable average period drops to values ​​between 0 and 1. (RSI Functions )
Release Notes:
Update : Colors
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?