Use the code insertion tags to make it easier to read.
If possible, post the function here...... I've looked through a lot of experts, but they are all different, I can't figure it out ...........................
But how to set the deletion of a pending order when the other one is triggered??????????? How does meta unit see already open and pending orders?????????
If you can post the function here...... I've looked through a lot of EAs but they all have different settings, I can't figure out...........................
I'm not so much joking as I am drawing everyone's attention to the value of searching for answers. Most of the doubts can be resolved by searching. Here, for example, finding the answer to your second question, about transferring parameters by reference. Search google for mql4 - "double&" site:mql4.com One of the first answers is the one we need, a detailed explanation with citations and interpretation of the documentation: https://www.mql5.com/ru/forum/103148
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.
Use the code insertion tags to make it easier to read.
https://www.mql5.com/ru/forum/127799/page5
VOLDEMAR:
But how to set the deletion of a pending order when the other one is triggered??????????? How does meta unit see already open and pending orders?????????
If you can post the function here...... I've looked through a lot of EAs but they all have different settings, I can't figure out...........................I want to modify OpenPosition for a multi-currency EA, please advise which errors are returned by GetLastError
2. the order should be deleted (OrderDelete()) and the position closed (OrderClose()).
Please give me a link to the OrderClose() function ???
https://docs.mql4.com/ru/trading/OrderClose
P.S.
There's a lot more in the documentation and tutorial. Check it out for the fun of it.
Please.
https://docs.mql4.com/ru/trading/OrderClose
P.S.
There's a lot more in the documentation and tutorial. Check it out for the fun of it.
Stop kidding around, there are "retards."
stop kidding around, there are "retards."
I'm not so much joking as I am drawing everyone's attention to the value of searching for answers. Most of the doubts can be resolved by searching.
Here, for example, finding the answer to your second question, about transferring parameters by reference.
Search google for mql4 - "double&" site:mql4.com
One of the first answers is the one we need, a detailed explanation with citations and interpretation of the documentation:
https://www.mql5.com/ru/forum/103148