Moe alda / Publications
Forum
How to solve Array out of range error in Stoch rsi indicator
Hi I used the Stoch RSI indicator and received an error when I changed the period of the stochastics to be higher than the period value of the RSI. The exit error is " array out of range in 'Stoch RSI.mq5' (162,29)" The error occurs on the line "if(Result==0 || (high[i]>Result &&