pullend:
Hello forum, would someone mind telling me if there is a limit to the number of "if" functions you can use in a section of code, and if yes, what the limit is.
I am getting the following as an error when compiling my code:
"if" too complex expression error
I have had the code compile successfully with a combination of "if" and 3 times "if else"
but when I introduce one more level, I get the error message
Then again, I am a newbie with this and maybe the error relates to something else
thanks in advance
davep
My EA has 6 if-else loop and it works fine.
Your code is having some syntax error, post your old & new code to check...
most likely syntax error
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
Hello forum, would someone mind telling me if there is a limit to the number of "if" functions you can use in a section of code, and if yes, what the limit is.
I am getting the following as an error when compiling my code:
"if" too complex expression error
I have had the code compile successfully with a combination of "if" and 3 times "if else"
but when I introduce one more level, I get the error message
Then again, I am a newbie with this and maybe the error relates to something else
thanks in advance
davep