Close all trades?

Avatar
  • updated
  • Answered

Hi Guys, I try to find the the setting where all trades closed at the same time. Is it on TP "the Sum TP" or on partial close "any with any". 

The ea should do trades, they should be hedged and when all trades combined turn positiv, then it should be closed. 

so which sets should be best for it? 

greetings 

Avatar
1
Ulises Cune

I have the same problem as you. I have tried to open a hedge with the sum of all the trades to close at profit 0 to get out as soon as possible and I can't do it with the current options of CP 2.49

I don't want to use "Global" options because I have other strategies on the same pair

EURUSD_ExitProfit0.set

I leave the .set file, maybe someone wants to try it or propose something new.

Avatar
1
Andrey Khatimlianskyi
  • Answered

Yep, you need "Hedge: close partial after order".

But with hedge lot = sum opposite lot * 1 you'll just lock the loss and it will never turn into profit.

You can also use Global Account Close, but it will affect all EAs on the account.