Do
you really expect an answer? There are no mind readers here and our crystal balls are cracked. We can't possibly know what pendingBuyPriceAsk,
stopLoss and takeProfit is or their value or what the Bid was at the time of the call.
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.
General rules and best pratices of the Forum. - General - MQL5 programming forum
Messages Editor
as I understand it he is confusing asset prices with each other
when you have more than one order open in more than one asset
Right
USDCAD isnt @ 109 that is EURUSD.
So it trying to modify USDCAD with EURUSD quotes.
Bad coding job.
Right
USDCAD isnt @ 109 that is EURUSD.
So it trying to modify USDCAD with EURUSD quotes.
Bad coding job.
Time to sell EURUSD if it is at 109
Haha yeah or buy USDCAD at 109 and sell it at 133 on the next tick.