How to get previous value of an indicator

 

Hi everyone, How do i can write code to get previous value of an indicator , for example previous value of RSI .

thank you in advance.

 
ahmedEdan:

Hi everyone, How do i can write code to get previous value of an indicator , for example previous value of RSI .

thank you in advance.

The previous value of RSI? did you mean shift?

https://docs.mql4.com/indicators/irsi and pay attention to the word "SHIFT".

Goodluck

iRSI - Technical Indicators - MQL4 Reference
iRSI - Technical Indicators - MQL4 Reference
  • docs.mql4.com
iRSI - Technical Indicators - MQL4 Reference