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.
Hi,
I have an EA which opens trade, but I am not able to figure out how to do trilling on it
can someone give me code to do trilling as fallowing condition
1. once i am xx pips in profit I want to close half position
and put stoploss on 1 pip profit
ex:
if I buy 1lot at 1.4400 once market is at 1.4410 i want to close .50 lots
and put stoploss at 1.4401 for remaining .50 lots