Artyom good afternoon. My name is Daniel. My question is the following one. I have written my Expert Advisor in MQL4, to be more precise, rewritten from the video tutorial. Apparently there are some errors in it, but it will not compile well.
The compiler will display the errors specifying the line and position in the line. Please refer to them
Insert the text of the program using the SRC button above the text of your message - look, it is better!
danil77783: Thanks so much for your help!!! .... Fixed all the errors with one I can't figure out. I'm asking for your help. Where did I mess up again?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Artyom good afternoon. My name is Daniel. My question is the following one. I have written my Expert Advisor in MQL4, to be more precise, rewritten from the video tutorial. Apparently there are some errors in it, but it will not compile well.
The compiler will display the errors specifying the line and position in the line. Please refer to them
Insert the text of the program using the SRC button above the text of your message - look, it is better!
You could also attach a file - then it would look in the MetaEditor immediately
The compiler will generate errors indicating the line and position in the line. Refer to them
Insert the text of the program using the SRC button above the text of your message - look, it's better!!!
You could also attach a file - then it would look in MetaEditor immediately
Sorry for the incorrect behavior, I stand corrected, I give you my word :) I'm exhausted absolutely....
I have marked lines with errors, file..... attached, please take a look, thank you in advance!
I apologize for the incorrect behavior, I will correct myself, I give you my word :) I'm completely exhausted ....
I have marked lines with errors, I have attached file....., please look it up, thanks in advance!
Is it so hard to see that ticet and tiket are different variables?
And you cannot see closing parenthesis without opening parenthesis too?
Thanks so much for your help!!! .... Fixed all the errors with one I can't figure out. I'm asking for your help. Where did I mess up again?
You have this block out of the body of the OnTick function, remove one bracket.
And then there will be one bracket missing.
The bracket above the selected line must be moved down, before the minus line.
} //+------------------------------------------------------------------+And then there will be one bracket missing.
The bracket above the highlighted line must be moved down before the minus line.
Everything!!! .... Thank you very much. Compiled it. It works!
What's the payoff? Also this piece here with the empty function can be discarded. Try it...