.
NO EXTERNAL LINKS, SOURCE CODE REQUESTS OR MODIFICATION OF DECOMPILED INDICATORS. To avoid post deletion please follow the rules.

Re: RSI Indicators for MT4

#1271
miau1 wrote:
Wed Jan 29, 2020 11:27 pm
miau1 wrote:
Thu Jan 23, 2020 9:46 pm
Hello there,

First of all thanks a lot for your work in the trading community guys.

I wonder if you could create a RSI like one one shown in the image, with a minor addition:

The RSI shown in the image (1H chart) has a black line and 2 brown ones:
-The black line is the standard MT4 RSI (the source indicator).
-The brown lines represent the extremes the standard RSI line has reached during a certain bar, it's like a "register" of the reached levels.

Would it be possible to make it so the RSI line in the red circle (the section of the RSI that has to repaint because the bar is still opened) is displayed in a different (chosen) color? Then once the bar closes it would become the same color than the rest of the non-repainting parts, and the colored section would move to the next opened bar.

Thanks a lot in advance
From another metaquotes indicator (and thanks to the help of a coder credited in the source code), I got the basic RSI with the repainting section in a different color working properly, thought I would share it here.

I wonder, would it be possible to add to this indi the second part of the request? (The lines that display the maximum-minimum values the RSI reached in a certain candle, those wouldn't need different colors). Thanks!
Thanks for sharing(was so easy wish I would have thought of that), anyway added the channel.
RSI 2 colors channel.mq4
(4.45 KiB) Downloaded 256 times
AUDUSDH4.png


Re: RSI Indicators for MT4

#1272
mrtools wrote:
Thu Jan 30, 2020 5:47 am
miau1 wrote:
Wed Jan 29, 2020 11:27 pm


From another metaquotes indicator (and thanks to the help of a coder credited in the source code), I got the basic RSI with the repainting section in a different color working properly, thought I would share it here.

I wonder, would it be possible to add to this indi the second part of the request? (The lines that display the maximum-minimum values the RSI reached in a certain candle, those wouldn't need different colors). Thanks!
Thanks for sharing(was so easy wish I would have thought of that), anyway added the channel.
Thanks Miau, CJA and Mrtools for this neat version of the RSI. Interesting idea with the current "open" bar reading being highlighted on the RSI. I'm currently using it on my live charts!
RSI Channel with open bar color on live charts.png
Myfxbook live results (using Mrtools' indicators) new 2020 account coming soon.
Need custom MT4 coding? Send a PM to Mrtools or post here for a quote!

Re: RSI Indicators for MT4

#1273
Thank you guys, I'm glad it is helpful!

The new channel indicator is close to what I intended but not completely accurate, let me explain how it should work (and how I use it).

Take this M1 chart as example, the min-max RSI value channels are there to display what the RSI looked like in the recent period, to spot divergences that were there, to make sure the RSI was in divergence (or not) during a certain candle while it was opened, take this M1 as example:
example.png
I connect the black (original, closed candles RSI) to the orange, and I can know if in the candles I connected (closed candle HAS to be connected with the wick of the other candle), the RSI was in divergence or not (this gives you an early signal that you can then confirm with price action or whatever you prefer).
This saves me the need to have my eyes glued to the screen during the whole candle to check if the RSI was in divergence at all times. It is like a "historic" of the recent RSI values (is not needed to have too much candles, to save calculations in the loop. Ideally the best would be to be able to choose the bars).

This is a comparison between both what I need and the current channel RSI, in the open of a M1 candle:
1.png
Now the close of the same candle:
2.png
I think the channels require a different loop (and an auto-set value to the RSI open candle value with every new candle), but not sure 100%.
I've tried to modify it myself to show you in the code, but don't attach it to a chart, it will hang the platform! Let's say my coding skills aren't the best :sweat:

Thanks, and please ask me any question!
RSI 2 colors channel (dont use).mq4
(4.61 KiB) Downloaded 90 times

Re: RSI Indicators for MT4

#1274
Hello, sorry in advance if this in the wrong thread but I came across this interesting indicator called Relative Strength Levy. It's an oscillator that fluctuates around the fixed level of 1, the original formula is rather simple: RSL=Price/MA(n). It should be no problem for the one here that I found in MQL5 to be on the chart, but I wasn't able to make it run in strategy tester, so maybe is it non nmc? Either way, would you please build an update to this version with different MA option and price formular? Thank you!
Relative Strength Levy.mq4
(2.91 KiB) Downloaded 101 times
VALAR MORGHULIS

Re: RSI Indicators for MT4

#1275
miau1 wrote:
Thu Jan 30, 2020 6:50 pm
Thank you guys, I'm glad it is helpful!

The new channel indicator is close to what I intended but not completely accurate, let me explain how it should work (and how I use it).

Take this M1 chart as example, the min-max RSI value channels are there to display what the RSI looked like in the recent period, to spot divergences that were there, to make sure the RSI was in divergence (or not) during a certain candle while it was opened, take this M1 as example:
example.png
I connect the black (original, closed candles RSI) to the orange, and I can know if in the candles I connected (closed candle HAS to be connected with the wick of the other candle), the RSI was in divergence or not (this gives you an early signal that you can then confirm with price action or whatever you prefer).
This saves me the need to have my eyes glued to the screen during the whole candle to check if the RSI was in divergence at all times. It is like a "historic" of the recent RSI values (is not needed to have too much candles, to save calculations in the loop. Ideally the best would be to be able to choose the bars).

This is a comparison between both what I need and the current channel RSI, in the open of a M1 candle:
1.png

Now the close of the same candle:
2.png

I think the channels require a different loop (and an auto-set value to the RSI open candle value with every new candle), but not sure 100%.
I've tried to modify it myself to show you in the code, but don't attach it to a chart, it will hang the platform! Let's say my coding skills aren't the best :sweat:

Thanks, and please ask me any question!
Hello again, I've continued to work with this RSI, and made some progress (got it to work in a chart) but I'm stuck, it still needs to set the channel lines to the RSI values in the open of every new candle, I tried everything and this is what I think is the closest I got.

Also, this is minor but Id like the central RSIs to "overlap" the channel lines, so you see the central RSI at all times, right now the channels are drawn "over" the RSI. Tried a few things also but couldn't get that.

This is how it looks like now (bottom RSI) compared to what I intend to get (upper RSI with the levels drawn):
Example.png
And this is the latest version (you can attach this to a chart safely at least)

Edit. Pasted the wrong file, this is the last one. The two problems the code has are:
1. Needs to start having the value of the normal RSI at the start of the bar.
2. Needs to display the highest/lowest point the RSI reached in every bar, even if it repainted back, currently it shows the highest/lowest that "closed" in X candles instead (defined by the "CalculatedBars" parameter, that should define the amount of bars where you want the calculation to be performed, as it might be CPU heavy).

Apologies for the confusion!
RSI 2 colors channel - corrected.mq4
(5.05 KiB) Downloaded 110 times


Re: RSI Indicators for MT4

#1279
Ogee wrote:
Fri Feb 07, 2020 9:24 pm
Amunra5 wrote:
Fri Feb 07, 2020 8:47 pm
do we have rsi with alert when it leaves OBOS?
Also here,
thanks pacois and ogee.

mrtools, pls fix this indi. no change happened for OS (see pic)
and if possible can add arrows on main chart please
forfixing.jpg


  1. Similar Topics

    1. ATR indicators for MT4

      4 Replies 1077 Views

      by Banzai, Tue Feb 11, 2020 1:13 pm in MT4 Indicators

      4 Replies
      1077 Views
    2. MT5 Indicators

      2 Replies 3743 Views

      by Joserra, Wed Jul 11, 2018 7:58 pm in MT5 Indicators

      2 Replies
      3743 Views

Return to “MT4 Indicators”

Who is online

Users browsing this forum: arbus, Blueman, CommonCrawl [Bot], DAWEIZHANG, DotNetDotCom [Bot], e9201991117, Google [Bot], Google AppEngine [Bot], jerryjerry, JYocky, Made, Majestic-12 [Bot], phnthnhnm, SEMrush [Bot], squalouco, Techman, tradevn001, YaCy [Bot] and 72 guests