Please edit your post (don't create a new one) and post your code properly ... (or simply "+Attach" the file instead).
12 &13: Can't open ''C:\Users\hp\AppDataRoaming\MetaQuotes\Terminal\DOE8209F77C8CF37AD8BF550E51FF075\MQ...
72.'if'-Open parentheses expected
242.'}'-Not all control paths return a value
These are not part of MQL5's Standard Library. If you did not code them yourself, then did you get from some other library are you just assuming that they exist by default?
#include <Risk_Management.mqh> #include <Trade_Manager.mqh>
As for the rest, there are several unbalanced braces "{ ... }" which you will have to correct.
And while you are at it, remove all the extra blank lines which is just making the whole thing difficult to read.
Use the built-in code styler in MetaEditor to tidy up your code and spot where the unbalanced braces are.
However, judging from your other posts, I have a feeling that this is not your code and you are just copy/pasting it from somewhere and don't have an ideia of how to apply it properly.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi Guys? Please tell me how I can fix these 4 errors:
12 &13: Can't open ''C:\Users\hp\AppDataRoaming\MetaQuotes\Terminal\DOE8209F77C8CF37AD8BF550E51FF075\MQ...
72.'if'-Open parentheses expected
242.'}'-Not all control paths return a value