Dukascopy
 
 
Wiki JStore Search Login

Converter parse exception on mq5 source
 Post subject: Converter parse exception on mq5 source Post rating: 0   New post Posted: Wed 23 Jan, 2013, 19:16 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
The attached file has a Converter parse exception.

Thanks for looking at it.

I do not have an mq5 environment in which to test this, but I understand the code should be OK.

Could not upload extension mq5 so renamed and added .txt to filename extension for the upload.

HyperScalper


Attachments:
File comment: Parse exception on this mq5 indicator
3rdGenMA.mq5.txt [7.22 KiB]
Downloaded 354 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: Converter parse exception on mq5 source Post rating: 0   New post Posted: Wed 23 Oct, 2013, 16:08 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Original mql5 file will not compile because of differences between C and Java. These differences are rare and require a lot of work to circumvent.
Slightly modified file 3rdGenMA.mq5 is in the attachment.


Attachments:
3rdGenMA.mq5 [7.27 KiB]
Downloaded 84 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: Converter parse exception on mq5 source Post rating: 0   New post Posted: Wed 23 Oct, 2013, 17:32 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Thanks !! I placed the *.mq5 file you provided, into the Indicators folder.

But, in the JForex platform when I choose Custom Indicators / Open Indicator,
it seems to filter out the .mq5 file type, but does show .mq4 file types present
in the Indicators folder.

Is this normal? What's the procedure for attempting to use an mq5 file
type to compile a custom indicator?

Demo platform v2.28.2 JForex API ver. 2.9.4

HyperScalper


 

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