closing a trade

 

Hi,


Example:


If I fill a long order(instant ex) of say .03 contracts on eurusd at 1.430

Now, I want to set up to sell .02 contracts @ 1.432 and .01 @ 1.433

How if possible can I do that?

 
Use the OrderClose() function.
 
04071948:
If I fill a long order(instant ex) of say .03 contracts on eurusd at 1.430
Now, I want to set up to sell .02 contracts @ 1.432 and .01 @ 1.433

On US brokers, hedging isn't allowed, you'll have to so a partial close (OrderClose()) at the first level and then close and open a new.

If hedging is allowed you can open Sell limits at the prices.