I am creating an EA and I would like that when he has a position of 30 negative pips, he automatically opens a new order with the TP proportional to the first order.
In other words, it would be something like a martigale, several EA use it, I don't know the correct name.
thanks in advance.
This situation involves lots and pips.
I think you could see that I'm a beginner, if you have a didactic example it would be very good.
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.
thanks in advance.
This situation involves lots and pips.
I think you could see that I'm a beginner, if you have a didactic example it would be very good.