
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
The compiler expressed something in English to me. Bracket something is not a program, the program in general is wrong with this bracket and the bracket is unbalanced. But there are brackets. Could you please tell me where to look for an error?
'}' - Error at the end of program Redo.mq5 3562 1
'{' - unbalanced parentheses Redo.mq5 3330 1
Well, I've already finished it above. Let me repeat: the "new" quote for the Expert Advisor is a quote that arrives right after the completion of the next OnTick() function, even if this quote is not the "first tick on the bar". Your condition of a new bar coming
will be checked only after the Expert Advisor finishes the processing of the quote that came on the "previous" bar. ...If the OnTick() function is executed for 90 seconds and started at 00.00.00, the "condition for a new tick on M1 will be executed at least once, namely after 00.01.30
The compiler expressed something in English to me. Bracket something is not a program, the program in general is wrong with this bracket and the bracket is unbalanced. But there are brackets. Please, tell me, where to look for an error?
'}' - unexpected end of program Redo.mq5 3562 1
'{' - unbalanced parentheses Remake.mq5 3330 1
Maybe braces are missing when writing code (regardless of what the compiler says)?
Sorry, same question. It says '{' - some operator expected parenthesis.mq5 612 62 I try it for about 20-25 minutes or maybe more in a separate EA and I can not find the cause, all the large brackets I have seen 6 times, all paired. And they are not so dark, not so many. I'm looking at everything, dots with dots, other brackets... Take a look, please, if you can!
In order to make the code understandable not only for you but for everyone else, there is a very useful feature in the MetaEditor. It's called the Styler (follow this link for details). Click Tools => Styler. Shortcut Ctrl+, . Try it and it will help you to understand it. ))
There are only three pairs of parentheses
The compiler points out the line it tripped over. Next time you should highlight such lines. It's a pain in the ass to search for "line 612 and cursor position 62".
On this line.
I don't like that true and false aren't surrounded by parentheses. I don't know if the language allows it, but this is how it should be written in fen-shui: