Dukascopy
 
 
Wiki JStore Search Login

retracement finder syntax error
 Post subject: retracement finder syntax error Post rating: 0   New post Posted: Mon 09 Jul, 2012, 08:27 

User rating: 1
Joined: Wed 07 Mar, 2012, 05:56
Posts: 101
Location: New CaledoniaNew Caledonia
hello support,

i have an error syntax when i try to convert the retracementfinder.mq4 indicators :

Quote:
07:14:22 Syntax error on token ",", Expression expected after this token
07:14:22 ^
07:14:22 if (equal(equal(startpar, 1|startpar==0), )){
07:14:22 1. ERROR in C:\Users\eric\AppData\Local\Temp\jfxide\tmp\compile\j1RetracementFinder1.java (at line 98)


i don't understand how to resolv it.

could you help me please?

thanks


Attachments:
1-Retracement Finder1.mq4 [4.67 KiB]
Downloaded 328 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: retracement finder syntax error Post rating: 0   New post Posted: Mon 09 Jul, 2012, 09:48 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Try the following version:


Attachments:
RetracementFinderFix.mq4 [4.51 KiB]
Downloaded 322 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: retracement finder syntax error Post rating: 0   New post Posted: Mon 09 Jul, 2012, 14:11 

User rating: 1
Joined: Wed 07 Mar, 2012, 05:56
Posts: 101
Location: New CaledoniaNew Caledonia
it's ok, i can compile it but i have a another problem.

when i use with a renko chart the indicator always keep a move.

it's difficult for me to explain in english. try it on renko chart and look what happen.

sorry for my english.


 
 Post subject: Re: retracement finder syntax error Post rating: 0   New post Posted: Mon 09 Jul, 2012, 14:59 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The workaround till the release of JForex API 2.6.73 is to quickly choose "Recalculate on new candle only" in parameters dialog, once you select "Add to active chart".


 
 Post subject: Re: retracement finder syntax error Post rating: 0   New post Posted: Mon 09 Jul, 2012, 15:48 

User rating: 1
Joined: Wed 07 Mar, 2012, 05:56
Posts: 101
Location: New CaledoniaNew Caledonia
ok, thanks you


 

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