5 Min RSI 12 Indicator For MT4
The 5 Min RSI 12 Indicator For MT4 paints the potential buying and selling point in the major asset based on the simple RSI calculation. Since you will be spotting the signals based on the overbought and oversold condition, you must use the knowledge of support and resistance level.
Installing the 5 Min RSI 12 Indicator For MT4
After you downloaded the indicator via the form above you need to unzip the zip-file. Then you need to copy the file 5min_rsi_qual_02IND.mq4 into the folder MQL4\Indicators of your MT4 installation. After that please restart MT4 and then you will be able to see the indicator in the list of indicators.
Parameters of the 5 Min RSI 12 Indicator For MT4
The 5 Min RSI 12 Indicator For MT4 has 0 parameters to configure.
Buffers of the 5 Min RSI 12 Indicator For MT4
The 5 Min RSI 12 Indicator For MT4 provides 7 buffers.
SetIndexBuffer(0, ExtMapBuffer1);
SetIndexBuffer(1, ExtMapBuffer2);
SetIndexBuffer(2, ExtMapBuffer3);
SetIndexBuffer(3, ExtMapBuffer4);
SetIndexBuffer(4, ExtMapBuffer5);
SetIndexBuffer(5, ExtMapBuffer6);
SetIndexBuffer(6, ExtMapBuffer7);
Main Parts Of The Code
int start()
{
double rsi=0; // Relative Strength Indicator
int i=0;
int pos=Bars-100; // leave room for moving average periods
//----
bool last11=true; // qualify flag
bool last22=true; // qualify flag
//----
while(pos gt =0)
{
rsi=iRSI(Symbol(),0,28,PRICE_CLOSE,pos);
//----
if (rsi gt =55)
{
ExtMapBuffer1[pos]=High[pos];
last11=false;
for(i=pos; i lt pos+11; i++)
{
rsi=iRSI(Symbol(),0,28,PRICE_CLOSE,i);
if (rsi gt =55.0) last11=true;
}
if (last11==true)
{
ExtMapBuffer3[pos]=High[pos]+0.0001;
}
else
{
ExtMapBuffer5[pos]=High[pos]+0.0002;
}
}
if (rsi lt =45)
{
ExtMapBuffer2[pos]=Low[pos];
//----
last11=false;
for(i=pos; i lt (pos+11); i++)
{
if (iRSI(Symbol(),0,28,PRICE_CLOSE,i) lt =45) last11=true;
}
if (last11==true)
{
ExtMapBuffer4[pos]=Low[pos]-0.0001;
}
else
{
ExtMapBuffer6[pos]=Low[pos]-0.0002;
}
}
pos--;
}
return(0);
}
//+------------------------------------------------------------------+