Problem is likely in CloseTicket that you didn't bother to show. Since you aren't selecting only the current chart pair, that had better not be using anypredefined variables.
Problem is likely in CloseTicket that you didn't bother to show. Since you aren't selecting only the current chart pair, that had better not be using anypredefined variables.
yeah....Thankss anyway...!!
for me,the problemoftenoccursbecauseof poorinformationandpoorexample at MQL Book & Help file.
Repions:for me,the problemoftenoccursbecauseof poorinformationandpoorexample at MQL Book & Help file.
"The problem often occurs because" you aren't thinking things through. If you are on the EURUSD chart and you try to close a USDJPY order, what do you think happens when you use (EURUSD) Bid?
"The problem often occurs because" you are putting blind faith in the examples, instead of thinking things through. Show me the example where it closes multiple orders from multiple pairs.
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.
yeah....Thankss anyway...!!
for me, the problem often occurs because of poor information and poor example at MQL Book & Help file.
"The problem often occurs because" you aren't thinking things through. If you are on the EURUSD chart and you try to close a USDJPY order, what do you think happens when you use (EURUSD) Bid?
"The problem often occurs because" you are putting blind faith in the examples, instead of thinking things through. Show me the example where it closes multiple orders from multiple pairs.
WHRoeder: Show me the example where it closes multiple orders from multiple pairs.
Please .. Give me better solution