Compilation Error: undeclared identifier
-
Hello All,
I am building an EA on MT5, i just finished and i tried compiling it and i get the error message "Compilation errors: x2 - undeclared identifier".
I am not using any custom indicator as i only used RSI in my strategy.
In addition, i just subscribed to the 3 months plan...
Also as a means of troubleshoot, I tried compiling a strategy with below 10 blocks and it compiled successfully, but the EA strategy that had more than 10 condition blocks was not compiled and i kept experiencing the same compilation problem.
I will be grateful for any help anybody can offer me as i am new here.
Please see screenshot of the error msg below
Thank you in advance!

-
It doesn't seem like a bug, it's likely that you didn't declare some variable or constant correctly
In case you want to multiply something the right way is *2 -
@ambrogio Thank you soo very much for the response.
I have been trying to check all through the code and i didnt see anywhere where i made the mistake.
But one thing that i noticed is that, I just subscribed for the 3 months plan and all the EAs that i created that are over 10 conditions, didnt compile and had that error message but the ones that had 10 conditions and below, complied successfully.If its not too much of a bother, can you kindly help me check it please
Here is the shared link
https://fxdreema.com/shared/SUUQxxtteI look forward to hearing back from you
-
@ambrogio said in Compilation Error: undeclared identifier:
It doesn't seem like a bug, it's likely that you didn't declare some variable or constant correctly
In case you want to multiply something the right way is *2
-
@ambrogio Thank you soo very much for this.
I will check it and revert back to you soonest.
I am truly grateful. -
