Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 540
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
Thanks!!!!! Now I'll try to squeeze it into my code! Why on the first line (void) ?
And why do you need to specify the order type if the function name says that it considers Buy orders?
The name can be changed in seconds, but the code itself is a problem
You can change the name in seconds, but there's a problem with the code itself
The problem is not with the code, but with your understanding of what you're doing :)
Guys. My brain is already bubbling((( Please, advise how to use this definition of the orders quantity
make the amount of volume in lots? What needs to be changed or tweaked?
If you fail to select at least one order, this function will return -1.
If the type corresponds to OP_BUY - you will get the BUY lots volume
If the value of type is different, the function will return 0.
If I have understood the task correctly - change the count of units to the count of BUY order lotsIf at least one order is not selected correctly, the function will return -1
If the type corresponds to OP_BUY - you will get the BUY lots volume
If the value of type is different, this function will return 0.
If I have understood the task correctly, it is to change the piece count to the BUY order lot countYes, exactly. I can't figure it out
The problem is not with the code, but with your understanding of what you do :)
i agree that i don't understand programming completely. well, it's not my thing((((
I need to insert
My code prints the number of orders but I need the lot volume of all buy orders
This code is originally
I need to insert
My code prints the number of orders and I need the lot volume of all buy orders
The most important thing is to ask the right question.
Find out for yourself what you need
The most important thing is to ask the right question.
Look for yourself what you need
Seen and tried. Helped a lot already but there is a limit to my understanding
Guys. Already my brain is boiling((( Can you tell me how to make the number of orders out of this definition?
make the amount of volume in lots? What needs to be changed or tweaked?