RSI with Alert

Hello team EranForex,
HOW DO I ACTIVATE SOUND NOTIFICATION ON THE RSI INDICATOR ALART, SINCE THE NOTIFICATIONS ARE NOT COMING WITH SOUND
The alerts normally come with a sound. This is configured in your MetaTrader via Tools->Options->Events:
alert-sounds.png
If your MetaTrader is missing sounds, you can add them to the Sounds folder of your MetaTrader's installation folder (not the Data Folder, but the normal Program Files folder).
 
there is a bug i think, by default the levels lines are silver, i change the color to black and it's ok, but when i change timeframe the color of levels lines return to silver
 
there is a bug i think, by default the levels lines are silver, i change the color to black and it's ok, but when i change timeframe the color of levels lines return to silver
How exactly are you changing them? You should be doing it via the indicator properties:
1743407430750.png
 
  • 👍
Reactions: ionut
Hello Enivid,

I have two requests regarding the RSI indicator.

With the "RSI Breaks out of Limits" setting, I get an alert only at candle close. With the "RSI Returns to the Limits" setting, I get an alert immediately when the indicator returns to the level. Can this also be configured (perhaps as an additional function) for "RSI Breaks out of Limits?"

Second request:
Can another function be added under "Enable Notification Feature"? Namely, an audio alert with a custom audio file when I use the indicator for different currency pairs.

Or please tell me what I need to add to the indicator (I'm not an expert) to make this work.

That would be great.

Best regards, Chris
 
With the "RSI Breaks out of Limits" setting, I get an alert only at candle close. With the "RSI Returns to the Limits" setting, I get an alert immediately when the indicator returns to the level. Can this also be configured (perhaps as an additional function) for "RSI Breaks out of Limits?"
As long as you set the Candle to Use for Analysis to Current Candle, it will alert immediately on all alert types.
Can another function be added under "Enable Notification Feature"? Namely, an audio alert with a custom audio file when I use the indicator for different currency pairs.
I will perhaps add this in the next version, but you can easily add that yourself. Find the following line in the code:
MQL4:
if (SendAlert) Alert(AlertText);
And add this line after it:
MQL4:
PlaySound("alert.wav");
You can replace alert.wav with any sound file you prefer. It should be located in the Sounds folder of your terminal's folder (not data folder, but the terminal installation folder).
 
As long as you set the Candle to Use for Analysis to Current Candle, it will alert immediately on all alert types.

I will perhaps add this in the next version, but you can easily add that yourself. Find the following line in the code:
MQL4:
if (SendAlert) Alert(AlertText);
And add this line after it:
MQL4:
PlaySound("alert.wav");
You can replace alert.wav with any sound file you prefer. It should be located in the Sounds folder of your terminal's folder (not data folder, but the terminal installation folder).
Hello Enivid,
Thank you for the info. I've added the SoundAlert and the SoundFile to the indicator input mask.
What I meant was that the Draw Signal Arrows doesn't come in real time, but the SoundAlert does. The visual signal always comes only at the candle close.
Best regards, Chris
rsi.png
 

Attachments

Hello Enivid,
Thank you for the info. I've added the SoundAlert and the SoundFile to the indicator input mask.
What I meant was that the Draw Signal Arrows doesn't come in real time, but the SoundAlert does. The visual signal always comes only at the candle close.
Best regards, Chris
View attachment 32193
Sorry, but I cannot reproduce this issue. Could you please show an example of this happening?
 
Sorry, but I cannot reproduce this issue. Could you please show an example of this happening?
Hello Enivid,

I think I've found the problem now. At least when testing in the simulator.

I had the RSI indicator in the chart twice, once for "RSI Breaks out of Limits" and once for "RSI Returns to the Limits." I have to give the indicators different names (under "Indicator Short Name"), and then the visual signal appears in real time. When testing in the simulator, I also have to set "Wait Time Between Notifications (Seconds)" to "0" for the acoustic signal to appear.

And in MT4, the standard alert "alert.wav" should be disabled under "Events," or deleted or renamed in the sound folder; otherwise, this sound still plays, even if a different sound file is specified. It might also be possible to adjust this in the indicator code, but I don't know enough about that.

Those are all the things I discovered in the simulator. I'll have to see how it works in real next week.

Best regards, Chris
 
And in MT4, the standard alert "alert.wav" should be disabled under "Events," or deleted or renamed in the sound folder; otherwise, this sound still plays, even if a different sound file is specified. It might also be possible to adjust this in the indicator code, but I don't know enough about that.
The standard popup alert (called with the Alert()) function will play the alert.wav by default. Yes, that can be changed via the Events settings in the platform's options.