-
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, RSI60[0] is zero. You initialized it with a non-numeric string.
-
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, RSI60[0] is zero. You initialized it with a non-numeric string.
Apologies I'll do it properly next time
I do not understand what is meant by your second comment. Changing the double to a string before will RSI60[] only returns RSI60P0 or RSI60P1 or RSI60P2 or RSI60P3 instead of their numerical values
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
When I input RSI60PO, RSI60P1, RSI60P2, RSI60P3 in my script, the correct value appears. However, when I input RSI60[0] in the script, the value returned is 0, instead of the value of RSI60P0. This happens with all four values and I'm not sure why. Thanks for the help in advance