What kind of code can I add that will add a tag to a trade when it meet certain
conditions?
For instance, I have 3 or 4 trades in. One of my trades goes to -20 pips. At that
point, a hedge trade gets put in. How can I tag that trade so the hedging portion
of code will not keep re entering trades because the first trade is repeating to
-20.
As you can see, it would be very possible for the trade to go to -21 and back to
-20 or -19 and back to -20 etc. I don't want multiple hedge trades for the same
trade, just 1:1.
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.
What kind of code can I add that will add a tag to a trade when it meet certain conditions?
For instance, I have 3 or 4 trades in. One of my trades goes to -20 pips. At that point, a hedge trade gets put in. How can I tag that trade so the hedging portion of code will not keep re entering trades because the first trade is repeating to -20.
As you can see, it would be very possible for the trade to go to -21 and back to -20 or -19 and back to -20 etc. I don't want multiple hedge trades for the same trade, just 1:1.