luxecapital:
Whenever I test the rsi values using this code, the value returned is always 0. I don't understand why. I appreciate your help in advance
thats clearly not the code that you are getting a return value, so how do you expect any one to help you without seeing the whole code you say that returns 0?
luxecapital #: If I were to test it in the script it returns 0.
double RSI15 = iRSI(NULL, PERIOD_M15, 0, PRICE_CLOSE, 0);
-
Why did you post your MT4 question in the MT5 EA section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum?
Next time, post in the correct place. The moderators will likely move this thread there soon. - Of course, it returns zero. What do you expect with a length of zero?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Whenever I test the rsi values using this code, the value returned is always 0. I don't understand why. I appreciate your help in advance