close over zero profit pairs

If you need an Indicator or Signal developed or translated from other language, please post all Indicator development REQUESTS to this section here.

Moderator: admin

close over zero profit pairs

Postby conjure » Sun Dec 17, 2017 9:02 am

Symbol Lots S/B Pips P/L Gross P/L Time
AUD/USD 52K B 71 326.60 12/13/17
AUD/USD 52K S -69 -302.44 12/6/17
AUD/USD 52K B 128.9 670.28 12/8/17

EUR/AUD 54K B -247.8 -1022.73 12/4/17
EUR/AUD 52K S 276.3 1098.12 12/8/17
EUR/AUD 54K B -380.1 -1568.76 12/1/17

Hi.
As you can see above i open multiple positions on same currency .I do this on many currencies.
What i want is a strategy that will
check if there are two opposite positions (one Buy one Sell)
and if there is even a small profit ( Gross >0) in the sum of those 2 positions to close them both.
is it possible?
conjure
 
Posts: 76
Joined: Sat Jul 22, 2017 7:27 am

Re: close over zero profit pairs

Postby Apprentice » Sun Dec 17, 2017 1:36 pm

Your request is added to the development list under Id Number 3982
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 18984
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: close over zero profit pairs

Postby Apprentice » Thu Dec 21, 2017 9:06 am

User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 18984
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: close over zero profit pairs

Postby conjure » Wed Jan 24, 2018 9:07 am

Thank you Apprentice
works fine
conjure
 
Posts: 76
Joined: Sat Jul 22, 2017 7:27 am


Return to Indicator and Signal Requests

Who is online

Users browsing this forum: No registered users and 6 guests