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

Historical tester does not recognize profits
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=16&t=56864
Page 1 of 1

Author:  SFXbernhard [ Tue 18 Dec, 2018, 11:06 ]
Post subject:  Historical tester does not recognize profits

If you run a strategy in Historical Tester and a position does not get closed, the p/l is not recognized.

Example given
Run the attached EquityBug.jfx, deposit = 100'000 USD, USD/JPY, testing period: yesterday, visual mode on, Show reports on
If you run this on the current JForex 3.4.13 you will get a different strategy report result than running this on JForex 2.45.77!
(The result on JForex 2 is slightly different. I am also not sure why there is this imprecision between JForex 2 and 3, but it is in a range which is ok for the moment.)
Please compare the equity development screenshot of JForex3 with the strategy reports of both systems.

JForex 3.4.13
Image

JForex 3.4.13
Image

JForex 2.45.77
Image

Attachments:
JForex2HT_works.png [79.12 KiB]
Downloaded 314 times
JForex3HT_Bug.png [78.87 KiB]
Downloaded 296 times
Chart_USD_JPY_Hourly_snapshot.png [10.09 KiB]
Downloaded 296 times
EquityBug.java [989 Bytes]
Downloaded 180 times
EquityBug.jfx [2.49 KiB]
Downloaded 176 times

Author:  API Support [ Tue 18 Dec, 2018, 16:52 ]
Post subject:  Re: Historical tester does not recognize profits

Hello,

Yes, we know about this issue. Next platform release should fix this problem.

  Page 1 of 1