Dukascopy
 
 
Wiki JStore Search Login

getProfitLossInPips does not count order type (short or long)?
 Post subject: getProfitLossInPips does not count order type (short or long)? Post rating: 0   New post Posted: Wed 25 Dec, 2013, 05:44 

User rating: 0
Joined: Tue 20 Mar, 2012, 18:26
Posts: 6
Location: Russian Federation, Moscow
Merry Christmas!

Today (25.12) spreads are so big, that are seen at first glance, so I have noticed, that my strategy closes (short) positions 5 pips worse than asked. It obtains current profit using order.getProfitLossInPips() and if it's better than asked, closes the order.
First time I thought it's accidental, but it happened 3 times :(
Some suggestions?


 
 Post subject: Re: getProfitLossInPips does not count order type (short or long)? Post rating: 0   New post Posted: Mon 30 Dec, 2013, 17:09 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 604
Location: UkraineUkraine
Greetings.

Please provide a detailed description of the problem or ask it on Russian speaking forum.
viewforum.php?f=175

Best regards, Support team.


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com