@jstap it created several orders because but I solved it like this (not beautiful but it works)

A
Latest posts made by afripat
-
RE: Copy trade but reversedposted in Questions & Answers
-
RE: Copy trade but reversedposted in Questions & Answers
@Mattybarker That worked generally but it creates a loop of orders which needs to be stopped after the first run.
-
Copy trade but reversedposted in Questions & Answers
Hi guys,
I'm stuck with a probably very simple problem and would be really glad if somebody could help me:
Let's assume that I have no trade running so far.
As soon as I open a trade, e.g. buy with 1 lot, SL 15 pips and TP 50 pips, I want that automatically a sell order is created with the exact same parameters.
If I'd open a sell order, a buy order should be opened.I tried it with this approach but it didn't work at all:

Thanks a lot in advance!