Dukascopy
 
 
Wiki JStore Search Login

I need your help - Mq4 to Jfx
 Post subject: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Thu 30 Jan, 2014, 19:06 
User avatar

User rating: 0
Joined: Sun 19 Feb, 2012, 12:48
Posts: 10
Location: Portugal, Coimbra
Hello,

After converter mq4 strategy, I have this message:

java.lang.NullPointerException @ jforex.converted.Squared.f0_5(Squared.java:844)

Can someone help me?

Many Thanks


Attachments:
SQ13.mq4 [38.14 KiB]
Downloaded 126 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: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Fri 31 Jan, 2014, 10:39 
User avatar

User rating: 0
Joined: Sun 19 Feb, 2012, 12:48
Posts: 10
Location: Portugal, Coimbra
SUPPORT, please, I need your help.


Thanks


 
 Post subject: Re: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Fri 31 Jan, 2014, 12:44 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The issue has been registered, we are going to take a look at this as soon as available.


 
 Post subject: Re: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Fri 31 Jan, 2014, 13:49 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We checked the strategy that you attached and couldn't reproduce the error described. Provided strategy compiles and runs without error messages.

Are you sure that you attached correct strategy? Attached strategy name is "SQ13", while error message you posted says that exception occurred in strategy named "Squared".


 
 Post subject: Re: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Fri 31 Jan, 2014, 17:04 
User avatar

User rating: 0
Joined: Sun 19 Feb, 2012, 12:48
Posts: 10
Location: Portugal, Coimbra
Is the same strategy.


Attachments:
Squared.jfx [36.28 KiB]
Downloaded 126 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: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Fri 31 Jan, 2014, 17:06 
User avatar

User rating: 0
Joined: Sun 19 Feb, 2012, 12:48
Posts: 10
Location: Portugal, Coimbra
Can you give me your compiled for test, please?

Thanks


 
 Post subject: Re: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Mon 03 Feb, 2014, 11:45 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Unfortunately, we can't reproduce this error. Both strategies you have attached compiles and runs without error messages.

Does it still happen on the latest platform version?

See compiled strategy for your test in attachment.


Attachments:
SQ13.jfx [36.26 KiB]
Downloaded 118 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: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Wed 05 Feb, 2014, 12:01 
User avatar

User rating: 0
Joined: Sun 19 Feb, 2012, 12:48
Posts: 10
Location: Portugal, Coimbra
Ok, Thank you, I will try it.


 
 Post subject: Re: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Wed 05 Feb, 2014, 15:22 
User avatar

User rating: 0
Joined: Sun 19 Feb, 2012, 12:48
Posts: 10
Location: Portugal, Coimbra
I have made some testes and the script don't open positions. Which may be the problem?

Many thanks for your help


 
 Post subject: Re: I need your help - Mq4 to Jfx Post rating: 0   New post Posted: Thu 06 Feb, 2014, 10:41 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We investigated the problem with positions not being opened and it's not a converter issue. Provided strategy is just made that way.

Here is what can help:
1) Changing strategy parameters under "==== Strategy Settings ====" label.
2) Changing strategy logic that determines trade amount (it's too big now). Acknowledge that lot size in jForex is 1000000, while in Metatrader4 it's usually 100000.


 

Jump to:  

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