Simple question about RSI

To add comments, please log in or register
apleasewouldbenice boom
60
apleasewouldbenice boom  

Hello everyone!

I know how to say " If RSI > x  , then do this"

But, how to say     "If  RSI > x when candle is closed then do this" ( I mean the last candle ) 


Thanks for your help. Have a good day :)

Maria Erica Costagliola
393
Maria Erica Costagliola  
double RSI=iRSI(Symbol(),PERIOD_H1,2,PRICE_CLOSE,1);// the last number in this case 1 is the last candle
in you declaration of the Rsi if you put as last value 0 it means the current candle , if you put 1 it means the one before that
apleasewouldbenice boom
60
apleasewouldbenice boom  
Maria Erica Costagliola:
in you declaration of the Rsi if you put as last value 0 it means the current candle , if you put 1 it means the one before that

Thanks for your help :) I am grateful

To add comments, please log in or register