TP1 and TP2

Moderator: Moderator

TP1 and TP2

Postby escape » Sat May 02, 2020 6:38 pm

Hi,

I'm trying to create an order that will trigger a TP1, TP2 and SL where once TP1 is hit SL is moved to BE. Can this be done in one OTO combination, or would it have to be multiple requests?

Where when TP1 is hit, the OTO would close half of the position, AND move the SL to BE. Leaving TP2 in place and allowing the position to proceed to either TP2 or SL.

Does that make sense?

I'm looking at the c# examples and CreateOTO. TP1 sounds like it would be a CloseLimit order, and it seems to require the OrderId, which i wouldn't have when creating the OTO, leads me to believe i'd need multiple requests.

Many thanks,
escape
escape
 
Posts: 2
Joined: Sat May 02, 2020 5:49 pm

Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 3 guests