Darkyalt

Indicator: Relative Strength Index of Moving Average

Instead of calculating Relative Strength ( RS ) of Price( RSI ), this calculates RS of Moving Average(RSIOMA).

See http://www.earnforex.com/metatrader-indi... for more info and metatrader version.
Credit goes to Kalenzo from the Forex TSD forum http://www.forex-tsd.com/metatrader-4/82...

I easily modified the default RSI in trading view to make this indicator.
從喜愛的腳本中移除 添加到喜愛的腳本
//By Darkyalt
study(title="Relative Strength Index of MA", shorttitle="RSIOMA")
src = close, len = input(14, minval=1, title="Length")
up = rma(max(change(ema(src, len)), 0), len)
down = rma(-min(change(ema(src, len)), 0), len)
rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - (100 / (1 + up / down))
plot(rsi, color=blue)
band1 = hline(80)
band0 = hline(20)
fill(band1, band0, color=purple, transp=90)
hline(50, color=gray, linestyle=line)
sig = ema(rsi, 21)
plot(sig, color=purple)
so this generates rsi of moving average right?
回覆
Nice job. Thanks for sharing it with us. I presume we can try different MAs by substituting for ema. Have you tried any other variations?
回覆
Darkyalt Alphaoptions
Thanks. I haven't tried any other type of moving averages because I like to keep things simple(K.I.S.S.) and I think the differences is negligible.

Feel free to try other MAs by substituting the ema in here to the MA you want.
#4 up = rma(max(change(ema(src, len)), 0), len)
#5 down = rma(-min(change(ema(src, len)), 0), len)

You can also change the signal(trigger) line and length here
#12 sig = ema(rsi, 21)
回覆
Nice idea :)
回覆
首頁 股票篩選器 外匯篩選器 加密貨幣篩選器 全球財經日曆 節目 如何運作 圖表功能 價格 推薦朋友 網站規則 幫助中心 網站 & 經紀商解決方案 小工具 圖表解決方案 輕量圖表庫 部落格 & 新聞 推特
概覽 個人資料設定 賬戶和賬單 推薦朋友 我的客服工單 幫助中心 發表的想法 粉絲 正在關注 私人訊息 在線聊天 登出