Dukascopy
 
 
Wiki JStore Search Login

Pending orders works in historical tester but not in real acount jforex
 Post subject: Pending orders works in historical tester but not in real acount jforex Post rating: 0   New post Posted: Thu 24 Oct, 2013, 12:09 
User avatar

User rating: 0
Joined: Mon 15 Jul, 2013, 11:59
Posts: 49
Location: Spain, Madrid
vadim_berezhnoj wrote:
Request:
viewtopic.php?f=139&t=49905&start=20

Reply:
download/file.php?mode=view&id=4847


Hi Vadim;

I have tested in visual and works ok. But when I put the strategy in real or demo live chart Jforex. Has some problems it place each minute severals pending orders (same price same tp and sl). I remember the weminar and I think the problem will be fixed changing something about if block position amount, I did not fixed already...even I try but didnt work fine as I want (probably because I dont undestand the switch block (its for change hour time to minute time I guess?), any help for change that please.

Also if I stop the strategy and after the time period (in the weminar 6am gmt) at 7 or 9 am gmt I run the strategy again does not work untill the next day (even that we put to run the strategy form 6am to 22pm gmt (close and cancel). How can just place 1 pending order (until the order get cancel).

I changed the time (hour 16:00gmt) for practice in live chart time as you can see at the pictures and do the same placing several pending orders in real and demo live (But when I use historical tester works fine).

Thanks a lot

Image
Image


Attachments:
am6_10pm.vfs [48.25 KiB]
Downloaded 184 times
strategy_multiple_pending_orders_error.png [214.71 KiB]
Downloaded 417 times
chart.png [175.73 KiB]
Downloaded 430 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Pending orders works in historical tester but not in real acount jforex Post rating: 0   New post Posted: Fri 25 Oct, 2013, 09:47 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 583
Location: UkraineUkraine
Tested on Demo acc and JForex tester. No sign of the bug.
Can you give your Java file of the strategy?


 
 Post subject: Re: Pending orders works in historical tester but not in real acount jforex Post rating: 0   New post Posted: Fri 25 Oct, 2013, 11:43 
User avatar

User rating: 0
Joined: Mon 15 Jul, 2013, 11:59
Posts: 49
Location: Spain, Madrid
Hi Vadim;

The file is the weminar file. I just change the hour to 16:00 because I lunch it at 15:55h so could work at 16:00 in live time real acount. So if you are going to test it right now you have to change time to 11:00gmt in order to probe it, other ways is no going to work at all.
Image


Attachments:
test_it_before_11am_gmt.png [60.53 KiB]
Downloaded 366 times
am11GMT_10pm_change_time.vfs [48.38 KiB]
Downloaded 202 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Pending orders works in historical tester but not in real acount jforex Post rating: 0   New post Posted: Fri 25 Oct, 2013, 11:53 
User avatar

User rating: 0
Joined: Mon 15 Jul, 2013, 11:59
Posts: 49
Location: Spain, Madrid
the files .java and .jfx

Remember to try it on real live time no test (because works ok in historical tester but not in real when make a lot of pending new orders each minute or 2 minute....


thanks, I expect that is not a bug so I can probe it in my real acount jforex when is repair it.


Attachments:
am11GMT_10pm_change_time.java [18.99 KiB]
Downloaded 141 times
am11GMT_10pm_change_time.jfx [25.32 KiB]
Downloaded 112 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Pending orders works in historical tester but not in real acount jforex Post rating: 0   New post Posted: Fri 25 Oct, 2013, 12:10 
User avatar

User rating: 0
Joined: Mon 15 Jul, 2013, 11:59
Posts: 49
Location: Spain, Madrid
I probe it and this is the result error PENDING OPEN BLOCK (26)??? java.lang.NoClassDefFoundError: Could not initialize class com.dukascopy.api.impl.connect.PlatformOrderImpl @ com.dukascopy.visualforex.Gonzalez.am11GMT_10pm_change_time.PendingOpen_block_26(am11GMT_10pm_change_time.java:369)


Image


Attachments:
error.png [38.58 KiB]
Downloaded 421 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Pending orders works in historical tester but not in real acount jforex Post rating: 0   New post Posted: Fri 25 Oct, 2013, 12:49 
User avatar

User rating: 0
Joined: Mon 15 Jul, 2013, 11:59
Posts: 49
Location: Spain, Madrid
I just close the platform jforex and reset again....

I just lunch the estrategy again and the pending orders go on and on in live market as you can see in the picture. In tester works ok.
Image

cuple minutes later 33 orders,...and go on right now. Please fix it.
Image


Attachments:
two_minutes_later.png [172.2 KiB]
Downloaded 408 times
live.png [133.53 KiB]
Downloaded 413 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Pending orders works in historical tester but not in real acount jforex Post rating: 0   New post Posted: Fri 25 Oct, 2013, 12:58 
User avatar

User rating: 0
Joined: Mon 15 Jul, 2013, 11:59
Posts: 49
Location: Spain, Madrid
I send you the mesage. Also if you need more info please tell me, thanks

Image


Attachments:
mesage.png [195.78 KiB]
Downloaded 407 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Pending orders works in historical tester but not in real acount jforex Post rating: 0   New post Posted: Tue 12 Nov, 2013, 13:27 
User avatar

User rating: 0
Joined: Mon 15 Jul, 2013, 11:59
Posts: 49
Location: Spain, Madrid
Got the solution to ad at the beguin:

IF BLOCK
DEFAULT INSTRUMENT
LAST BID CANDEL CANDLE INSTRUMENT


 

Jump to:  

  © 1998-2011 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