Finding highest and lowest RSI values

 

Hi

I am trying to add a functino to my EA that shows the highest and lowest RSI values, I am new to coding but have come up with this:

double Rsi_hi, Rsi_lo(int shift=0){
  
  Rsi_hi = MathMax(iRSI(Symbol(),Period(),RsiPeriod,0,shift));
  Rsi_lo = MathMin(iRSI(Symbol(),Period(),RsiPeriod,0,shift));
   
Return(0);
}

Any pointers will be much appreciated. Dont worry about the high low with a certain number of candles, i have already dont this for the price but I am struggling with the RSI.

Thanks

Antony

 
Here this thread might help https://forum.mql4.com/35567
 

hi mr.ubzen. i thing ur a indian.am also am from tamilnadu.now am new to forex.can u help me to develope my

EA knowledge more daily can u give a some more idea for me friend.am waiting for ur replay.

its my email id:iwramasubbu@gmail.com,007.ramasubbu@gmail.com.

its my comapny url.....http://www.fxbase.com/.

thank you.

Reason: