Page 127 of 282

Re: RSI Indicators for MT4

Posted: Thu Jan 30, 2020 6:50 pm
by miau1
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: 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: Now the close of the same candle: 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!

Re: RSI Indicators for MT4

Posted: Wed Feb 05, 2020 4:00 am
by theCuchuoi
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!

Re: RSI Indicators for MT4

Posted: Wed Feb 05, 2020 11:53 pm
by miau1
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): 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!

Re: RSI Indicators for MT4

Posted: Fri Feb 07, 2020 8:47 pm
by Amunra5
do we have rsi with alert when it leaves OBOS?

Re: RSI Indicators for MT4

Posted: Fri Feb 07, 2020 9:08 pm
by pacois
Amunra5 wrote: Fri Feb 07, 2020 8:47 pm do we have rsi with alert when it leaves OBOS?
Try!!

Re: RSI Indicators for MT4

Posted: Fri Feb 07, 2020 9:24 pm
by Ogee
Amunra5 wrote: Fri Feb 07, 2020 8:47 pm do we have rsi with alert when it leaves OBOS?
Also here,

Re: RSI Indicators for MT4

Posted: Fri Feb 07, 2020 9:46 pm
by Amunra5
Ogee wrote: Fri Feb 07, 2020 9:24 pm
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

Re: RSI Indicators for MT4

Posted: Sat Feb 08, 2020 8:48 am
by mrtools
Amunra5 wrote: Fri Feb 07, 2020 9:46 pm

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
This one seems to be working.

Re: RSI Indicators for MT4

Posted: Mon Feb 10, 2020 4:23 pm
by Amunra5
mrtools wrote: Sat Feb 08, 2020 8:48 am

This one seems to be working.
can add arrows on main chart pls, sir

Re: RSI Indicators for MT4

Posted: Tue Feb 11, 2020 6:14 am
by arsd
mntiwana wrote: Fri Feb 24, 2017 9:17 am Double RSI of Averages nmc

 
Dear Mr Tools / Mr Mntwina

Can u kindly add arrows (up arrow for green & down arrow for orange) for this indi & post back as mq4 & not ex4

Regards
ARSD