# Stochastic RSI

**URL:** <https://community.tradovate.com/t/stochastic-rsi/1009>\
**Category:** Custom Indicators\
**Tags:** complete\
**Created:** [October 17, 2020, 8:03pm UTC](https://community.tradovate.com/t/stochastic-rsi/1009 "2020-10-17T20:03:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JacobH](https://avatars.discourse-cdn.com/v4/letter/j/f6c823/32.png) [@JacobH](https://community.tradovate.com/u/JacobH)\
**Post date:** [October 17, 2020, 8:03pm UTC](https://community.tradovate.com/t/stochastic-rsi/1009/1 "2020-10-17T20:03:22Z")

</div>

Hi,  
I’m hoping that someone can help create or point me in the right direction to convert the Stochastic RSI indicator that is in the Tradingview default indicator library into a usable indicator on Tradovate. The code looks very simple but I do not know how to do it:

 ![Screenshot 2020-10-17 142110](https://us1.discourse-cdn.com/flex015/uploads/tradingforum/original/1X/b2a28e003ad774cd89f659637db66d58f91a6670.png)

This is the text in the image:  
study(title=“Stochastic RSI”, shorttitle=“Stoch RSI”, format=format.price, precision=2, resolution="")  
smoothK = input(3, “K”, minval=1)  
smoothD = input(3, “D”, minval=1)  
lengthRSI = input(14, “RSI Length”, minval=1)  
lengthStoch = input(14, “Stochastic Length”, minval=1)  
src = input(close, title=“RSI Source”)  
rsi1 = rsi(src, lengthRSI)  
k = sma(stoch(rsi1, rsi1, rsi1, lengthStoch), smoothK)  
d = sma(k, smoothD)  
plot(k, “K”, color=#0094FF)  
plot(d, “D”, color=#FF6A00)  
h0 = hline(80, “Upper Band”, color=#606060)  
h1 = hline(20, “Lower Band”, color=#606060)  
fill(h0, h1, color=#9915FF, transp=80, title=“Background”)

---

<div class="post-metadata">

**Author:** ![BWeis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.tradovate.com/bweis/32/27_2.png) [@BWeis](https://community.tradovate.com/u/BWeis)\
**Post date:** [December 17, 2021, 9:13pm UTC](https://community.tradovate.com/t/stochastic-rsi/1009/2 "2021-12-17T21:13:01Z")

</div>

You can review the discussion and indicator in this topic:

> [@Stoch rsi indicator](https://community.tradovate.com/t/stoch-rsi-indicator/2004):
>
> does anyone have the stochastic rsi on tradovate? anyone has information on to how, in not very good with coding
