Modify RSI.mq4

 

Good day,

I'm newbie in coding so struggIe to understand the RSI.mq4 file. Just want to put a small change, that mq4 file can calculate the data which 

- period 5
- use the result of RSI 14

It's like the option "Previous Indicator's Data" (when the previous indicator here is RSI14) but I dont know how to put into code, can anyone enlight me please?


Thanks, 
Peter

 
PeterTran:

Good day,

I'm newbie in coding so struggIe to understand the RSI.mq4 file. Just want to put a small change, that mq4 file can calculate the data which 

- period 5
- use the result of RSI 14

It's like the option "Previous Indicator's Data" (when the previous indicator here is RSI14) but I dont know how to put into code, can anyone enlight me please?


Thanks, 
Peter

iRSIOnArray()

 
Mehmet Bastem #: iRSIOnArray()

Or write a new indicator (from RSI) replacing the close with iRSI(14)

 
William Roeder #:

Or write a new indicator (from RSI) replacing the close with iRSI(14)

Thanks guys
Reason: