I remembered that PRT would not allow partial closing of orders so I guessed that I simply had to place several different orders and manage them idependently.
I tried this …
1
2
3
4
5
6
7
8
9
10
11
IFC1ANDC2ANDC3THEN
BUY1CONTRACTSATMARKET
SET STOPLOSS10
SET TARGETPROFIT10
BUY1CONTRACTSATMARKET
SET STOPLOSS10
SET TARGETPROFIT50
ENDIF
What happens is that TARGET PROFIT ends up by being set to 50 for both orders.
Partial closing of positions should work now with IG in v11. Now that V11 demo accounts is available, you could give a try with a paper trading test to SELL/EXIT SHORT x CONTRACTS of a running order.