Useful features from KimIV - page 104

 
VladislavVG:

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 ...........................
 

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...........................
https://book.mql4.com/ru/trading/orders
 

I want to modify OpenPosition for a multi-currency EA, please advise which errors are returned by GetLastError

You can immediately (or after a minimum pause of about 1 second) try to open a position for another instrument.

 
Why doesn't e-MovingInWL work on five-digit brokers? Thank you.
 
KimIV:
double linfunc(double& x[], double a, double b)
what the apersand at the end of "double&" is for
 
KimIV:

2. the order should be deleted (OrderDelete()) and the position closed (OrderClose()).


Please give me a link to the OrderClose() function ???
 
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.

 
granit77:
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."
 
todem:
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