how can i get the last 10 every single RSI value?

 

Hi guys,

i know this is a stupid question, but can u guys tell me which function i can use that.


if i have the buy option below:

if(iRSI(NULL,0,14,PRICE_CLOSE,10)>20


and rsi shift is 10, that means will open the buy order when the 10th rsi value(from left to right) is below 20.

But if i want my EA check ALL 10 rsi, which means 9th rsi, 8th rsi, 7th rsi, 6th rsi.....1st rsi is below 20 will open the buy order,

just like (iRSI(NULL,0,14,PRICE_CLOSE,1~10)>20 (i know is doesnt work but i hope u guys can understand what i mean and forgive my poor english)

then which function i can use, to check every single rsi value, not only one rsi value.


thank you guys!

 
own Inside: which function i can use, to check every single rsi value, not only one rsi value.

Use a loop and check them all.