Koi_Capital

RSI-EMA Indicator

This indicator calculates and plots 2 separate EMAs of the RSI . The default settings below work great on SPX/SPY daily chart . General rule is if an EMA is above 50, the stock's near term outlook is bullish . If an EMA is below 50, the near term outlook is bearish . Personally, I like to use a fast EMA as a buy signal and a slow EMA as a sell signal.

Default settings:

RSI = 50
EMA1 = 100
EMA2 = 200
Remove from Favorite Scripts Add to Favorite Scripts
study(title="marsi", shorttitle="marsi", overlay=false)

basis = rsi(close, input(50))

ma1 = ema(basis, input(100))
ma2 = ema(basis, input(200))

oversold = input(40)
overbought = input(60)

plot(ma1, title="RSI EMA1", color=blue)
plot(ma2, title="RSI EMA2", style=line, color=green)

obhist = ma1 >= overbought ? ma1 : overbought
oshist = ma1 <= oversold ? ma1 : oversold

plot(obhist, title="Overbought Highligth", style=histogram, color=maroon, histbase=overbought)
plot(oshist, title="Oversold Highligth", style=histogram, color=green, histbase=oversold)

i1 = hline(oversold, title="Oversold Level", color=white)
i2 = hline(overbought, title="Overbought Level", color=white)

fill(i1, i2, color=olive, transp=100)

hline(50, title="50 Level", color=white)
Evgenich
a year ago
dont have arrows(
+1 Reply
ChaschiPapraniku Evgenich
a year ago
Same failure here
Reply
Koi_Capital PRO Evgenich
a year ago
No arrows because that's is from the Strategy Tester. The codes here are for the indicator only
Reply
Harsha_Kumar
a year ago
I Think You have developed an Indicator That seems to be like a Silver Bullet of Trading . It Works great for Stocks !!! Keep up the Good Work . it's Amazing . Hope I get to Learn from you. Would Like to know you better ! Can we chat ? Please
+1 Reply
Koi_Capital PRO Harsha_Kumar
a year ago
Thanks. Be careful though. This is really just a simple algorithm and it doesn't work all the time for all assets in every market environment
+1 Reply
Harsha_Kumar Koi_Capital
a year ago
Yes I've back tested it ..... I found that It works Brilliantly for Stocks on 15 min, 1 hour & Daily ..... Simply Superb ! best used for Swing & Positional trading in Stocks & Indices. Forex & Commodities , Not as good , but still it's usable
+1 Reply
Harsha_Kumar Koi_Capital
a year ago
I used Dochian Channel as Filter ..... it works soo good . thank you so much for this great indicator !!
+2 Reply
insanewaynebow
a year ago
I can't find this indicator on Tradingview.com. What's the name of it listed in Tradingview?
Reply
Jason_jianlin
a year ago
thanks for sharing!
Reply
Ideas Scripts Chart
United States
United Kingdom
India
España
Italia
Brasil
Россия
Türkiye
日本
한국
Home Stock Screener Economic Calendar How It Works Chart Features House Rules Moderators For the WEB Widgets Stock Charting Library Priority Support Feature Request Blog & News FAQ Help & Wiki Twitter
Private Messages Chat Ideas Published Followers Following Priority Support Public Profile Profile Settings Billing Sign Out