I am working on an EA where I want it to close out 1/2 the existing order on reaching a specified TP, and then moving the stop loss to +10pips of the entry price, then sending me an alarm.
How can I right click over an order and enable this in the code or would I need to type in the Order number and start the EA?
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.
I am working on an EA where I want it to close out 1/2 the existing order on reaching a specified TP, and then moving the stop loss to +10pips of the entry price, then sending me an alarm.
How can I right click over an order and enable this in the code or would I need to type in the Order number and start the EA?
There would be various order numbers and TPs