Dukascopy
 
 
Wiki JStore Search Login

APICLIENT-298 123 Pattern
 Post subject: APICLIENT-298 123 Pattern Post rating: 0   New post Posted: Tue 27 Mar, 2012, 18:22 

User rating: 0
Joined: Mon 19 Dec, 2011, 14:21
Posts: 12
Location: SwitzerlandSwitzerland
I would like to have this indicator called 123 pattern in my Jforex platform. Unfortunately, the code is for MT4.
Is it possible to translate a version for Jforex ?
In attachment you find the code for MT4, an alarm for the pattern and a screenshot of how it is drawn on a simple chart.
Thank you for your help. ;)


Attachments:
GBPAUD, Weekly, 2012 March 01-2.jpg [47.5 KiB]
Downloaded 515 times
123Alarms.mq4.txt [3.52 KiB]
Downloaded 337 times
123PatternsV6.mq4.txt [13.56 KiB]
Downloaded 350 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: 123 Pattern Post rating: 0   New post Posted: Fri 06 Apr, 2012, 13:23 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We adjusted the source code, since the JForex indicators don't have access to account functions (i.e. IsTesting()):
Attachment:
_23PatternsV6.mq4 [11.98 KiB]
Downloaded 345 times

Try it with the MQL4 Connector and check if the indicator works correctly:
viewtopic.php?f=6&t=47063
Note that it may take some time for the values to draw:
Image

The alarm indicator won't work with the connector, since there is not support for custom indicators yet.


Attachments:
Patterns_jforex.png [32.29 KiB]
Downloaded 775 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: 123 Pattern Post rating: 0   New post Posted: Tue 11 Sep, 2012, 04:25 

User rating: 0
Joined: Tue 11 Sep, 2012, 03:20
Posts: 2
Hello,

this error show up after i add it to active chart.


java.security.AccessControlException: access denied ("java.io.FilePermission" "." "read")
   at java.security.AccessControlContext.checkPermission(Unknown Source)
   at java.security.AccessController.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkPermission(Unknown Source)
   at java.lang.SecurityManager.checkRead(Unknown Source)
   at java.io.File.list(Unknown Source)
   at java.io.File.listFiles(Unknown Source)
   at com.dukascopy.connector.lib.impl.TechnicalIndicators.registerCustomIndicators(TechnicalIndicators.java:274)
   at com.dukascopy.connector.lib.impl.TechnicalIndicators.iCustom(TechnicalIndicators.java:392)
   at com.dukascopy.connector.lib.MQL4Functions.iCustom(MQL4Functions.java:1314)
   at jforex.converted._23PatternsV6.start(_23PatternsV6.java:205)
   at com.dukascopy.connector.engine.MQL4ConnectorIndicator.calculate(MQL4ConnectorIndicator.java:181)
   at com.dukascopy.api.impl.bw.a(Unknown Source)
   at com.dukascopy.charts.math.dataprovider.AbstractDataProvider$e.c(Unknown Source)
   at com.dukascopy.charts.math.dataprovider.AbstractDataProvider$e.run(Unknown Source)


 
 Post subject: Re: APICLIENT-298 123 Pattern Post rating: 0   New post Posted: Sun 16 Sep, 2012, 02:58 

User rating: 0
Joined: Tue 11 Sep, 2012, 03:20
Posts: 2
Can you give a time on when you can fix it and let us test again? Thanks alot.


 
 Post subject: Re: APICLIENT-298 123 Pattern Post rating: 0   New post Posted: Wed 19 Sep, 2012, 13:10 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The fix will be available with JForex-API 2.7.2.3. Note that before compiling the indicator one needs to add a converted version of the ZigZag indiactor to the Connector properties. Read more here:
https://www.dukascopy.com/wiki/#iCustom_calls
Here is the value comparison between JForex and MT4 (mind to take off the green outputs in the indicator parameters dialog):
Image


Attachments:
123PatternFix.png [66.75 KiB]
Downloaded 606 times
ZigZag.mq4 [6.28 KiB]
Downloaded 317 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.
 

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