That's why the topic is called "... from scratch" - zero in programming and zero in English.
Sincerely, Vladimir.
(I see.)
It's strange that so many articles on MQL5 have been translated into English and from English into Russian, while the manual hasn't been translated yet. It's very strange.
The next step is to add a trailing edge to the script code.
Regards, Vladimir.
That makes sense. Try it. When you get to the point of checking if you have an open position or an open order, study the for loop attentively and practice using it on simple examples to make it easier to solve the problem. You will also need to master arrays and functions. Then you will easily be able to cope with it.
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.
That's why the topic is called "... from scratch" - zero in programming and zero in English.
Sincerely, Vladimir.
Try to remove conditions and check. They don't do anything there.
Checked. You are absolutely right - conditions and #define do nothing. I realize now that I haven't understood it all the way through, so excuse me.
Sincerely, Vladimir.
Checked. You are absolutely right - the conditions don't do anything. Now I realise that I haven't figured it out completely, so - sorry.
Respectfully, Vladimir
It's a stash in the code)))
Good point. I'll comment out #define and leave it for when I need to get back to it. For now let it be a stash.
Sincerely, Vladimir.
What are your further plans in training and practice? What tasks are you going to set for yourself?
The next step is to add a trailing edge to the script code.
Regards, Vladimir.
In the future, according to the self-study plan, the task is to modify the script step by step, namely:
I wrote it on the 13th page of this article. I have already implemented the first point.
Sincerely, Vladimir.
The next step is to add a trailing edge to the script code.
Regards, Vladimir.
1. Master arrays.
Thank you, Peter, for the constructive advice. I will definitely incorporate it into my self-study plan.
Regards, Vladimir.
1. Master arrays.
0.1 Type conversion
0.2 Boolean algebra
0.3 Concept of integer overflow (x+1 is not always greater than x)
0.4 Floating point number maths
0.5 Variable
0.6 Variable initialization
...
Lazy to think further)))