Search
Products
Community
Markets
News
Brokers
More
IN
Black Friday sale
Up to 70% OFF
Community
/
Ideas
/
Rsi cross
Bitcoin / TetherUS
Rsi cross
By sathitphonstp
Follow
Follow
Mar 19, 2022
2
Mar 19, 2022
//
version
=5
//Panchaya
indicator(title="RSI Crossing", shorttitle="RSI Crossing", format=format.price, precision=2, timeframe="", timeframe_gaps=true)
lengthRSIS = input.int(25, "RSI Short", minval=1)
lengthRSIL = input.int(100, "SMA Long", minval=1)
src = input(close, title="RSI Source")
rsi1 = ta.rsi(src, lengthRSIS)
rsi2 = ta.rsi(src, lengthRSIL)
p1=plot(rsi1, "RSIS", color=#2962FF)
p2=plot(rsi2, "RSIL", color=#FF6D00)
h0 = hline(80, "Upper Band", color=#787B86)
h1 = hline(20, "Lower Band", color=#787B86)
fill(h0, h1, color=color.rgb(255, 255, 204, 95), title="Background")
Beyond Technical Analysis
Fundamental Analysis
sathitphonstp
Follow
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
.