Close 2 order from Open Orders Pool if minimum profit example 1 usd
That's cutting your profits short, and letting your losers run.
The exact opposite of cutting your losers short and letting your winner run.
Marco vd Heijden:
yes i know but i want the code for it. please share code if you have this
That's cutting your profits short, and letting your losers run.
The exact opposite of cutting your losers short and letting your winner run.
i am trying hard to code the ea but no luck please help me i want to close any 2 orders with profit total of 1 usd.
for example
1: -10usd
2: -7 usd
3 -6usd
4: -3
5: +4
i want to close number 4 and 5 because minimum profit target requirement total sum +4 and -3 =1 usd
so close order 4 and 5
can any one share own code for this i will be very thankful by heart i am trying it from serval days but no sucess