Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

getProfitLossInPips does not count order type (short or long)?
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=141&t=50570
Page 1 of 1

Author:  VGT [ Wed 25 Dec, 2013, 05:44 ]
Post subject:  getProfitLossInPips does not count order type (short or long)?

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?

Author:  vadim_berezhnoj [ Mon 30 Dec, 2013, 17:09 ]
Post subject:  Re: getProfitLossInPips does not count order type (short or long)?

Greetings.

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

Best regards, Support team.

  Page 1 of 1