[Archive!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass it by. Couldn't go anywhere without you - 2. - page 358

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
Next, I want to combine buying and selling. I have removed unnecessary constants, but there are three errors: "I can't attach an index to them, for example "CalculateOrders_1"?
i can't put an index on them, i can't use "CalculateOrders_1"? I am very grateful
Next, I want to combine buying and selling. I have removed unnecessary constants, but there are 3 errors: "I can't attach an index to them, for example "CalculateOrders_1"?
i can't put an index on them, i can't get it to "CalculateOrders_1"? I am very grateful
well if you have the body, then why write again... h ttps://book.mql4.com/ru/programm/structure
Well, I think it should be that way too. and I think I do.
But it doesn't let me use the "CalculateOrders" function a second time, for example.
It depends on what tasks you are going to solve and where your code is located in the EA's program body. No one is obliging us to keep the code in the start function!
The start() function is one of the three predefined in our code template. It should be present at least!, because the parent program - the terminal program (this is main(), the main), performing its main tasks, receiving a fresh quote from the server (roughly) just look into your function start and execute the code, which is in it, if it will just return(), then the start function will stop here.
I don't know how to program the graphical object to be displayed on several timeframes, for example on H1, H4 and days, while on other timeframes it was not visible at all. I can see it on only one timeframe, or on all of them at once. I don't know how to show it on several interesting timeframes.
How do I add the required timeframes?
via a bit or " | "