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
Use MetaEditor's Styling function, to style code, so that you can see what the code is missing.
You have missing/unbalance parentheses "{ }" as well as several other coding errors.
Are you perhaps using ChatGPT?
Use MetaEditor's Styling function, to style code, so that you can see what the code is missing.
You have missing/unbalance parentheses "{ }" as well as several other coding errors.
Are you perhaps using ChatGPT?
No , I am not using chatgpt. I did style my code. which other several programming errors do you see?
Before correcting parentheses ...
After adding closing paranthesis to OnTick() ...
After adding "#include <Trade\Trade.mqh>" to beginning of file ...
You need to seriously analyse your code and fix all of these. There are still too many unbalanced parentheses.
Before correcting parentheses ...
After adding closing paranthesis to OnTick() ...
After adding "#include <Trade\Trade.mqh>" to beginning of file ...
You need to seriously analyse your code and fix all of these.
I just dont get it . I did put a semi colon at the end of the CTrade expression. and how did you get all these errors when you compiled ? I only got 2
Hi guys , I just built my first EA using the trade class. The code compiles without errors but during the strategy testing in the strategy tester , the EA does not open any trades. In the journal tab , there are no error messages . Please help . Below is my code :
...
...