Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Does mq4 converter generate intermediate java source code?
 Post subject: Does mq4 converter generate intermediate java source code? Post rating: 0   New post Posted: Mon 21 Jan, 2013, 20:45 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
I recently converted an mq4 indicator, and it worked perfectly.

I was just wondering whether there is a java intermediate source, or whether that is not available?

Is there an option on the compiler which will retain an intermediate java source for the converted mq4?

Could not find a java source output.


 
 Post subject: Re: Does mq4 converter generate intermediate java source code? Post rating: 0   New post Posted: Tue 22 Jan, 2013, 08:33 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
hyperscalper wrote:
I was just wondering whether there is a java intermediate source, or whether that is not available?
The latter.
hyperscalper wrote:
Is there an option on the compiler which will retain an intermediate java source for the converted mq4?
No, this is done on purpose, because the used method signatures are subject to change, meaning that with every new release it is probable the java source code would need to get adjusted for the indicator/strategy to compile/work correctly.
If you are interested in method implementations, they are available at our public repository:
https://publicrepo.site.dukascopy.com/jforexlib/publicrepo/com/dukascopy/connector/MQL4Connector/2.7.7/MQL4Connector-2.7.7-sources.jar


 
 Post subject: Re: Does mq4 converter generate intermediate java source code? Post rating: 0   New post Posted: Tue 22 Jan, 2013, 14:09 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Thank you, please fix that link as it appears to be broken.


 
 Post subject: Re: Does mq4 converter generate intermediate java source code? Post rating: 0   New post Posted: Tue 22 Jan, 2013, 14:31 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It does work. Can you navigate the path manually https://publicrepo.site.dukascopy.com/jforexlib/publicrepo/? In any case the file is also available from your JForex-SDK project (locate it among Maven dependencies).


 

Jump to:  

  © 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