Before modifying an order, you should check if the values being set are the same as those already in the order. And if all the values are the same, there is no need to make the modification.
Before modifying an order, you should check if the values set are the same as those already in the order. And if all the values are the same, there is no need to make the modification.
The value already set in the order should be checked to see if it coincides with the one to be set.
tp==OrderTakeProfit()
Also, if sl==OrderStopLoss() is required
also if needed price==OrderOpenPrice()
Taras, could you explain what I need it for if I modify a grid of orders with decreased min and max orders and respectively need to calculate a new average price and modify the new take profit
Taras, can you explain why I need this if I modify a grid of orders in which the min and max orders are reduced, respectively I need to calculate a new average price and modify the new take profit
er, didn't you ask about the modification error and its criticality? ...and its explanation
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.
Not critical, but there is an explanation for everything...
YOU have that explanation
Not critical, but there is an explanation...
Or assumptions
Or assumptions
Need the whole code to look at in the tester.
Please see
BAC has this explanation
Before modifying an order, you should check if the values being set are the same as those already in the order.
And if all the values are the same, there is no need to make the modification.
Before modifying an order, you should check if the values set are the same as those already in the order.
And if all the values are the same, there is no need to make the modification.
Is this the check you are talking about?
Is this the check you are talking about?
You need to check if the value already set in the order matches the one to be set.
The value already set in the order should be checked to see if it coincides with the one to be set.
Taras, could you explain what I need it for if I modify a grid of orders with decreased min and max orders and respectively need to calculate a new average price and modify the new take profit
Taras, can you explain why I need this if I modify a grid of orders in which the min and max orders are reduced, respectively I need to calculate a new average price and modify the new take profit
er, didn't you ask about the modification error and its criticality?
...and its explanation