Close all at Any TP Target Triggered

Post Reply
darioneto
Posts: 1
Joined: Sat Feb 15, 2014 7:13 am

Close all at Any TP Target Triggered

Post by darioneto »

Hi guys,

I’ve got simple script which drops few pending orders with defined TP and SL.
Does anyone have an idea how to modify this script so when any of the TP is triggered (regardless if it’s a first, second or any other order in sequence), all those orders (Pending&Open) are closed on given currency pair where script is attached?

Cheers
YenPercent
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Coders Hangout”