rsi momentum indicator (Mega RSI [SHK])
Forums › ProRealTime English forum › ProBuilder support › rsi momentum indicator (Mega RSI [SHK])
- This topic has 13 replies, 4 voices, and was last updated 2 years ago by pp_playaflamenca.
-
-
11/24/2019 at 7:59 PM #113515
One of the most powerful indicator based and divergence strategies i have ever seen was made by Constance Brown.
Is it possibel for somewone to write this indi for pro realtime, i think it is very useful for everyone, thank you very much. the indicator is coming from tradingview from someone.
The Composite Index:
The best way to think of the Composite Index as it applies to the RSI is to think of the RSI as Windows 3.0 and the Composite Index as Windows 10. Constance Brown discovered that the RSI , while it does create and detect divergences, does is not as accurate as it could be. It’s a bit of an oxymoron to say this but the RSI is a momentum indicator without any momentum calculation attached to it. The RSI actually misses a significant amount of important moves and even generates some bad moves. What Constance Brown did with the RSI is to input a momentum calculation within the RSI itself.Usage:
1. Check hidden and regular divergences on RSI+COMPOSITE_INDEX and PRICE+COMPOSITE_INDEX.
2. After finding divergence wait for COMPOSITE_INDEX to cross under/over it’s moving averages to trigger.Useful Note:
“RSI overbought/oversold as filter”, “RSI and COMPOSITE_INDEX trendline as trigger”, “RSI 50 Over/Under as trend direction detection”, … can be add to this strategy.
Attachments:1234567891011121314151617181920212223242526272829study(title="Mega RSI [SHK]", shorttitle="Mega RSI [SHK]")i1 = 120i2 = i1 + 120rsi_length=input(14, title="RSI Length")rsi_mom_length=input(9, title="RSI Momentum Length")rsi_ma_length=input(3, title="RSI MA Length")ma_length=input(3, title="SMA Length")fastLength=input(13)slowLength=input(33)r=rsi(close, rsi_length)rsidelta = mom(r, rsi_mom_length)rsisma = sma(rsi(close, rsi_ma_length), ma_length)s=rsidelta+rsismaplot30 = plot(30,color=#FFFFFF00)plot70 = plot(70,color=#FFFFFF00)fill(plot30,plot70,color=#22222204)hline(30,color=green,linestyle=dashed)hline(50,color=black,linestyle=dotted)hline(70,color=red,linestyle=dashed)plot(s / 2 + i1, color=red, linewidth=2)plot(sma(s, fastLength) / 2 + i1, color=green)plot(sma(s, slowLength) / 2 + i1, color=red)plot(r,color=#880e4f,linewidth=2)1 user thanked author for this post.
11/24/2019 at 8:03 PM #11351611/25/2019 at 8:30 PM #113591123456plot1=Momentum[9](RSI[14])plot2=Average[3](RSI[3])Composite1=plot1+plot2Composite2=Average[13](Composite1)Composite3=Average[33](Composite1)return Composite1 as "Composite Index", Composite2 as "SMA13", Composite3 as "SMA33"1 user thanked author for this post.
11/25/2019 at 8:49 PM #11359211/25/2019 at 11:37 PM #113598PRC_Mega RSI123456789101112131415161718192021222324//PRC_Mega RSI | indicator//25.11.2019//Fr7 @ www.prorealcode.com//Sharing ProRealTime knowledge//converted from Tradingview code// --- settingsi1 = 120//i2 = i1 + 120length=14momlength=9malength=3fastLength=13slowLength=33// --- end of settingsr=RSI[length](close)rsidelta =Momentum[momlength](r)rsisma = average[malength](rsi)s=rsidelta+rsismam=average[fastLength](s) / 2 + i1m2=average[slowLength](s) / 2 + i1CompositeIndex=(s / 2 + i1)return 30 coloured(0,0,255) style(dottedline,1)as "30",70 coloured(255,0,0) style(dottedline,1)as "70",50 coloured(0,0,0) style(dottedline,1)as "50",CompositeIndex as "Composite Index",r as "RSI",m coloured(0,0,255)as "SMA13",m2 coloured(255,0,0)as "SMA33"11/26/2019 at 4:04 PM #11363910/12/2020 at 11:39 AM #147143Hello, The script doens’t work anymore ? Can you adapt pls ? Many Thanks
10/12/2020 at 12:14 PM #147148Which script?
Why do you doubt it may no longer work?
10/12/2020 at 12:28 PM #14715010/12/2020 at 12:35 PM #147156Hi Roberto,
I’ve copy the code in prorealtime and I’ve got several error messages.
10/12/2020 at 12:43 PM #147158Hi All,
Find the printscreen of the error messages in attach. Thx a lot for your help.
10/12/2020 at 1:19 PM #147161The first code is from another programming language, use this translated version instead: https://www.prorealcode.com/topic/rsi-momentum-indicator/#post-113598
1 user thanked author for this post.
08/28/2022 at 9:04 PM #199765Perhaps a little change for a suitable translation from the original Tradingview:
rsimalength=3
rsisma = average[malength](rsi[rsimalength](close)) -
AuthorPosts
Find exclusive trading pro-tools on