hi, I am performing some hedging with my ea and it works great, somehow I want it to make profits more often so I want to add positions as the profits move up or down kinda like "double sided martingale". I wonder if someone is willing to help me with this easy thing I just don't know how to program.
I always have a minimum of 2 positions opened.
I want to make a new opening every time 1 of my positions reaches some precise points exemple.
exemple 1
aud/usd buy -751$
nzd/usd sell +370$
in this case I would want to double the aud/usd one
exemple2
aud/usd +501$
nzd/usd - 480
in this case I would want to double the nzd/usd one
what I exactly want is to add positions every time it reaches -750$ or +500$ considering the number of orders if I have 2-3 orders it would be -750$ if this is 4-5 positions -1500$ if this is 3 -2250$ and the same for every positive position I have.And the opposite as well +500 for 2-3 positions +1000 for 4-5 positions etc etc
I assume sometimes I am misunderstood since my first language is not english but I could find ways to explain it if you do not understand what I do want.
thanks you for taking time to figure this out with me :)
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 am performing some hedging with my ea and it works great, somehow I want it to make profits more often so I want to add positions as the profits move up or down kinda like "double sided martingale". I wonder if someone is willing to help me with this easy thing I just don't know how to program.
I always have a minimum of 2 positions opened.
I want to make a new opening every time 1 of my positions reaches some precise points exemple.
exemple 1
aud/usd buy -751$
nzd/usd sell +370$
in this case I would want to double the aud/usd one
exemple2
aud/usd +501$
nzd/usd - 480
in this case I would want to double the nzd/usd one
what I exactly want is to add positions every time it reaches -750$ or +500$ considering the number of orders if I have 2-3 orders it would be -750$ if this is 4-5 positions -1500$ if this is 3 -2250$ and the same for every positive position I have.And the opposite as well +500 for 2-3 positions +1000 for 4-5 positions etc etc
I assume sometimes I am misunderstood since my first language is not english but I could find ways to explain it if you do not understand what I do want.
thanks you for taking time to figure this out with me :)