
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
Good afternoon! Tell me, I understand that in the tester you can't see the graphical constructions? No? I mean graphics like And so on.
Look how the compiler swears at the bracket... I fell out! Where do you look at the error anyway?
P.s. There's essentially nothing else in it, just variable declaration!!!! There are only six brackets, three paired... I wanted to put it all into oninit, so I could debug it for the weekend. Or ignore the compiler?
See how the compiler scolds the bracket... I fell out! Where to look for the error anyway?
The compiler correctly pointed out 2 errors.
The errors have a fairly accurate description on the same line.
Yes, of course, there is no function yet. But a parenthesis? This is probably caused by the fact that there is no function. Thank you. Maybe I'm just dumb? I'm sorry. Oh. I'll cross out the line with the error and compile!
No. That's because OnInit() is supposed to return something of int type, but it doesn't. There are two options:
You know, he missed the return(0); Wow!!! That's OK. I have moved the piece of text in the function (OnInit ) of a newly created EA, all that has been written in the OnTick function of a long-written EA. It will compile deliberately. Typed '}' - not all control paths return a value Output yu.mq5 2686 3 !!!!
Needless to say, brackets are paired there. I don't know what to do now.
No. That's because OnInit() is supposed to return something of int type, but it doesn't. There are two options: