Indicators: RSI Alert - Multi Timeframe Overbought/Oversold Detector

 

RSI Alert - Multi Timeframe Overbought/Oversold Detector:

A simple yet effective RSI indicator that monitors overbought and oversold conditions on any symbol and timeframe. Sends instant alerts via pop-up and mobile notifications when RSI crosses your defined thresholds.

RSI Alert - Multi Timeframe Overbought/Oversold Detector

Author: Duy Van Nguy

 

Without a plot, it might not be comfortable to use

 
Conor Mcnamara #:

Without a plot, it might not be comfortable to use

If your trading method utilizes overbought and oversold zones, it is  useful tool.
 
Duy Van Nguy #:
If your trading method utilizes overbought and oversold zones, it is  useful tool.

I made an adjustment to your code to include the RSI plot which also times itself to the external timeframe

 
Conor Mcnamara #:

I made an adjustment to your code to include the RSI plot which also times itself to the external timeframe

So great... but it seems it’s not working, I don’t see the RSI indicator displayed on the chart.
 
Duy Van Nguy #:
So great... but it seems it’s not working, I don’t see the RSI indicator displayed on the chart.

Try to change the chart timeframe to refresh it or wait for new tick, it will plot on the new tick that comes. It needs new tick to come, and it won't plot on a closed market.

It's safer to use a custom bar limit actually. This will fix it:

   int limit = (prev_calculated < 0) ? rates_total : 200;

   ArrayResize(rsi, limit);
   ArraySetAsSeries(rsi, true);
   if(CopyBuffer(rsiHandle, 0, 0, limit, rsi) > 0)
     {
      for(int z = 0; z < limit; z++)
        {
         Buffer_RSI[z] = rsi[z];
        }
     }


If you choose M15 in the strategy tester and H1 in the RSI input, you'll see that it is timed to H1 RSI