handle_iRSI=iRSI(_Symbol, _Period, period_RSI, PRICE_CLOSE);
if(CopyBuffer(handle_iRSI,0,0,5,rsi)!=5) return;
double rsi_val = NormalizeDouble(rsi[0],2);
if(rsi_val<30) alert("Price lower than 30% RSI");
if(rsi_val>70) alert("Price higher than 70% RSI");