Dukascopy
 
 
Wiki JStore Search Login

VJF Source code not working in Live
 Post subject: VJF Source code not working in Live Post rating: 0   New post Posted: Sun 26 May, 2013, 14:50 
User avatar

User rating: 7
Joined: Wed 04 Jul, 2012, 02:40
Posts: 109
Location: Australia, Melbourne
Hi Guys ,

I am wanting to get the system I have built onto my live account for live testing- the system runs fine during Historical Testing from the VJF Platform,

When I copy the source code over to the live platform, then compile - the system no longer works when I click TEST , then test vs 3 months data.

I will attach the vfx and source file. I understand that VJF is in Beta - but feel the goal should be to get the systems onto the live account (lol its how you guys get paid afterall!)

Let me know how to fix this problem!

DoC


Attachments:
timeband.java [29.83 KiB]
Downloaded 319 times
timeband2.vfs [67.51 KiB]
Downloaded 306 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: VJF Source code not working in Live Post rating: 0   New post Posted: Wed 29 May, 2013, 12:14 
User avatar

User rating: 7
Joined: Wed 04 Jul, 2012, 02:40
Posts: 109
Location: Australia, Melbourne
Hello Support,

I have remade the system without changing any of the auto created variables - made from scratch (i.e didnt copy blocks from the other file) and still have the same problem.

I have attached the new version of same strategy and java file (interesting thing this java file is less lines).

This still does not work - have you had a chance to look into this issue?

DoCZero


Attachments:
bandbuild1.vfs [59.02 KiB]
Downloaded 323 times
bandbuild1.java [29.29 KiB]
Downloaded 310 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: VJF Source code not working in Live Post rating: 0   New post Posted: Wed 29 May, 2013, 17:24 
Visual JForex expert at Dukascopy
User avatar

User rating: 4
Joined: Fri 06 Feb, 2009, 16:34
Posts: 130
doczero wrote:
This still does not work - have you had a chance to look into this issue?

What you mean by "does not work"? It is working, without exceptions both on live and on demo. I tested it with default params, last week and with Visual JForex Interface.
It doesnt open any positions, but I suppose it happens due to the strategy logic and market conditions.


 
 Post subject: Re: VJF Source code not working in Live Post rating: 0   New post Posted: Wed 29 May, 2013, 23:02 
User avatar

User rating: 7
Joined: Wed 04 Jul, 2012, 02:40
Posts: 109
Location: Australia, Melbourne
Hello Support,

It doesnt open any positions Is the issue.


To clarify my issue - The visual jforex historical tester works fine - no error , it opens and closes trades, and the system executes as the logic dictates. As per these photos:


Image
Image

Please note I have changed the settings to generate more trades for testing purposes.

I then launch DEMO or LIVE JForex and import the source code , the compile. (Bandbuild1.java is the file im using).

When i try to test the system (rightclick the strategy name, the click test) then run a test - the strategy does not generate trades.


Image
Image

The above chart photo should have about 10 trades in it
That tells me that there is a problem the source code generator from Visual JForex.

SO when I run the system on LIVE data (not historical) I found I get the following error:

Image

I believe that means that the calculation expression working out the trade size does not convert over in the source code generator.
Also the error for line 572 references if the trade is long or short (bool).


Does that clarify my issue better? Can you help me with this?


Attachments:
liveissue.jpg [213.59 KiB]
Downloaded 597 times
jforextrades.jpg [206.23 KiB]
Downloaded 576 times
Jforexsettings.jpg [98.58 KiB]
Downloaded 597 times
VJFtrades.jpg [302.12 KiB]
Downloaded 583 times
VJFsettings.jpg [108.72 KiB]
Downloaded 605 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: VJF Source code not working in Live Post rating: 0   New post Posted: Thu 30 May, 2013, 09:26 
User avatar

User rating: 7
Joined: Wed 04 Jul, 2012, 02:40
Posts: 109
Location: Australia, Melbourne
Hello Support,

For your Info - The issue is with the calculation expression. I broke the calcuation expression into 3 seperate calculations and this fixed the problems.

Thanks


 
 Post subject: Re: VJF Source code not working in Live Post rating: 0   New post Posted: Fri 31 May, 2013, 14:10 
Visual JForex expert at Dukascopy
User avatar

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

Developers received your message.
Thank you for proper description of the bug.
It really helps.


 

Jump to:  

cron
  © 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