OPEN-SOURCE SCRIPT

Stochastic [Tcs] | OSC

This script is an implementation of the stochastic relative strength index (STOCH RSI) indicator

The script takes inputs from the length of the RSI, the source of the data, and parameters for the smoothing of the STOCH RSI.
The STOCH RSI is calculated by first calculating the RSI of the chosen source data, then smoothing it with an exponential moving average. The stochastic oscillator is then applied to the smoothed RSI, and smoothed again to create the final STOCH RSI.

The script also calculates a trigger value using a combination of the STOCH RSI and a volume-weighted moving average. It then plots the STOCH RSI, trigger value, and overbought/oversold levels, and fills the background of the plot based on the relationship between the trigger and STOCH RSI values.

Finally, the script plots buy and sell signals based on crossovers and crossunders of the STOCH RSI and its smoothed version.
The cross signal is stronger than the dots, in both direction and usually the best entries happen when two crosses signal on the level 0(long) or 100(short) appear after a dot signal.
snapshot

Please note that this indicator is for educational purposes only and should not be used for trading without further testing and analysis.
OscillatorsstochasticoscillatorStochastic RSI (STOCH RSI)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


For the access to premium indicators please contact me on tradingview

Disclaimer