I am trying to modify an existing MQL program to include a buy and
sell conditon based upon the RSI levels > 25 and < 75. When I try to
set it up under the Calculate indicators' value in the program the rsi
indicator setup asks for 2 time periods: rsi1_0 =
iRSIEx(
5,
10,0,PRICE_CLOSE,0).
The RSI(5) is what I want, but the second time period (10) I do not
understand why I need it? My logic statement was to be: If rsi1_1<25
and rsi1_0>25 buy.
How do I get the program to do what I want it to do?
I am a newbee to MQL.
Could somebody assist me please!
Sincerely,
Dave
ddiebold@sbcglobal.net
713-977-1892