|
JFOREX-3816 ilan 1.4 |
adonaifx
|
Post subject: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Sun 20 May, 2012, 23:34
|
|
User rating: 0
Joined: Sun 20 May, 2012, 18:49 Posts: 7
|
Hi guys
I wish convert ilan 1.4 free expert advidor for mt4 to jforex plataform, how i do ?
ilan1.4 in attach
Attachments: |
Ilan1.4.mq4 [29.32 KiB]
Downloaded 318 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.
|
|
|
|
|
 |
API Support
|
Post subject: Re: ilan 1.4 |
Post rating: 0
|
Posted: Mon 21 May, 2012, 08:00
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
There appears to be a problem while opening the strategy. As a temporary workaround, consider doing the following: - Navigate to Strategies folder of Workspace panel.
- Right-click the folder and select New strategy. Paste there the mq4 code. And save it.
- Then just either choose Local run or back-test the strategy in Historical Tester.
|
|
|
|
 |
adonaifx
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 11:33
|
|
User rating: 0
Joined: Sun 20 May, 2012, 18:49 Posts: 7
|
2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "}", delete this token 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 63. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 763) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert ";" to complete Statement 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int cnt, oldticketnumber=0, ticketnumber; 2012-05-22 10:32:36 62. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 745) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert "}" to complete ClassBody 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int cnt, oldticketnumber=0, ticketnumber; 2012-05-22 10:32:36 61. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 745) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "double", new expected 2012-05-22 10:32:36 ^^^^^^ 2012-05-22 10:32:36 double FindLastSellPrice() 2012-05-22 10:32:36 60. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 742) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "}", delete this token 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 59. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 738) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert ";" to complete Statement 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int cnt, oldticketnumber=0, ticketnumber; 2012-05-22 10:32:36 58. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 720) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert "}" to complete ClassBody 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int cnt, oldticketnumber=0, ticketnumber; 2012-05-22 10:32:36 57. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 720) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "double", new expected 2012-05-22 10:32:36 ^^^^^^ 2012-05-22 10:32:36 double FindLastBuyPrice() 2012-05-22 10:32:36 56. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 717) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "}", delete this token 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 55. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 713) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert ";" to complete Statement 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 static double AccountEquityHighAmt,PrevEquity; 2012-05-22 10:32:36 54. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 707) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert "}" to complete ClassBody 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 static double AccountEquityHighAmt,PrevEquity; 2012-05-22 10:32:36 53. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 707) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "double", new expected 2012-05-22 10:32:36 ^^^^^^ 2012-05-22 10:32:36 double AccountEquityHigh() 2012-05-22 10:32:36 52. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 705) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 void TrailingAlls(int start,int stop, double AvgPrice) 2012-05-22 10:32:36 51. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 660) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 void TrailingAlls(int start,int stop, double AvgPrice) 2012-05-22 10:32:36 50. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 660) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 void TrailingAlls(int start,int stop, double AvgPrice) 2012-05-22 10:32:36 49. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 660) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 void TrailingAlls(int start,int stop, double AvgPrice) 2012-05-22 10:32:36 48. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 660) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "}", delete this token 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 47. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 656) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert ";" to complete Statement 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double Profit=0; 2012-05-22 10:32:36 46. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 643) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert "}" to complete ClassBody 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double Profit=0; 2012-05-22 10:32:36 45. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 643) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "double", new expected 2012-05-22 10:32:36 ^^^^^^ 2012-05-22 10:32:36 double CalculateProfit() 2012-05-22 10:32:36 44. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 641) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double TakeShort(double price,int take) 2012-05-22 10:32:36 43. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 631) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double TakeShort(double price,int take) 2012-05-22 10:32:36 42. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 631) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double TakeShort(double price,int take) 2012-05-22 10:32:36 41. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 631) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double TakeLong(double price,int take) 2012-05-22 10:32:36 40. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 621) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double TakeLong(double price,int take) 2012-05-22 10:32:36 39. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 621) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double TakeLong(double price,int take) 2012-05-22 10:32:36 38. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 621) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double StopShort(double price,int stop) 2012-05-22 10:32:36 37. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 611) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double StopShort(double price,int stop) 2012-05-22 10:32:36 36. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 611) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double StopShort(double price,int stop) 2012-05-22 10:32:36 35. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 611) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double StopLong(double price,int stop) 2012-05-22 10:32:36 34. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 601) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double StopLong(double price,int stop) 2012-05-22 10:32:36 33. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 601) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double StopLong(double price,int stop) 2012-05-22 10:32:36 32. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 601) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 31. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 30. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 29. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 28. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 27. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 26. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 25. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 24. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 23. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 22. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ",", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 21. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int OpenPendingOrder(int pType,double pLots,double pLevel,int sp, double pr, int sl, int tp,string pComment,int pMagic,datetime pExpiration,color pColor) 2012-05-22 10:32:36 20. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 447) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "}", delete this token 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 19. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 443) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert ";" to complete Statement 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int trade; 2012-05-22 10:32:36 18. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 428) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert "}" to complete ClassBody 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int trade; 2012-05-22 10:32:36 17. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 428) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "void", new expected 2012-05-22 10:32:36 ^^^^ 2012-05-22 10:32:36 void CloseThisSymbolAll() 2012-05-22 10:32:36 16. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 426) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "}", delete this token 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 15. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 422) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert ";" to complete Statement 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int trade; 2012-05-22 10:32:36 14. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 411) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert "}" to complete ClassBody 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int trade; 2012-05-22 10:32:36 13. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 411) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "int", new expected 2012-05-22 10:32:36 ^^^ 2012-05-22 10:32:36 int CountTrades() 2012-05-22 10:32:36 12. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 408) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double fGetLots(int aTradeType) 2012-05-22 10:32:36 11. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 354) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double fGetLots(int aTradeType) 2012-05-22 10:32:36 10. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 354) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int fOrderCloseMarket(bool aCloseBuy=true,bool aCloseSell=true) 2012-05-22 10:32:36 9. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 293) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error, insert ";" to complete LocalVariableDeclarationStatement 2012-05-22 10:32:36 ^^^^ 2012-05-22 10:32:36 int fOrderCloseMarket(bool aCloseBuy=true,bool aCloseSell=true) 2012-05-22 10:32:36 8. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 293) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 int fOrderCloseMarket(bool aCloseBuy=true,bool aCloseSell=true) 2012-05-22 10:32:36 7. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 293) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double ND(double v){return(NormalizeDouble(v,Digits));} 2012-05-22 10:32:36 6. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 289) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "(", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 double ND(double v){return(NormalizeDouble(v,Digits));} 2012-05-22 10:32:36 5. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 289) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "}", delete this token 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 4. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 285) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token "}", delete this token 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 3. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 84) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on token ")", ; expected 2012-05-22 10:32:36 ^ 2012-05-22 10:32:36 if(CurrentPairProfit<0 && MathAbs(CurrentPairProfit)>(TotalEquityRisk/100)*AccountEquityHigh()) 2012-05-22 10:32:36 2. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 78) 2012-05-22 10:32:36 ---------- 2012-05-22 10:32:36 Syntax error on tokens, delete these tokens 2012-05-22 10:32:36 2012-05-22 10:32:36 if(CurrentPairProfit<0 && MathAbs(CurrentPairProfit)>(TotalEquityRisk/100)*AccountEquityHigh()) 2012-05-22 10:32:36 if(UseEquityStop){ 2012-05-22 10:32:36 double CurrentPairProfit=CalculateProfit(); 2012-05-22 10:32:36 //---- 2012-05-22 10:32:36 timeprev=Time[0]; 2012-05-22 10:32:36 } 2012-05-22 10:32:36 return(0); 2012-05-22 10:32:36 { 2012-05-22 10:32:36 if(timeprev==Time[0]) 2012-05-22 10:32:36 } 2012-05-22 10:32:36 } 2012-05-22 10:32:36 Print("Closed All due to TimeOut"); 2012-05-22 10:32:36 CloseThisSymbolAll(); 2012-05-22 10:32:36 { 2012-05-22 10:32:36 if(CurTime()>=expiration) 2012-05-22 10:32:36 if (UseTimeOut){ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 TrailingAlls(TrailStart, TrailStop, AveragePrice); 2012-05-22 10:32:36 { 2012-05-22 10:32:36 if (UseTrailingStop) 2012-05-22 10:32:36 { 2012-05-22 10:32:36 int start() 2012-05-22 10:32:36 //+------------------------------------------------------------------+ 2012-05-22 10:32:36 //| | 2012-05-22 10:32:36 //+------------------------------------------------------------------+ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 return(0); 2012-05-22 10:32:36 { 2012-05-22 10:32:36 int deinit() 2012-05-22 10:32:36 //+------------------------------------------------------------------+ 2012-05-22 10:32:36 //| | 2012-05-22 10:32:36 //+------------------------------------------------------------------+ 2012-05-22 10:32:36 } 2012-05-22 10:32:36 return(0); 2012-05-22 10:32:36 Spread=MarketInfo(Symbol(), MODE_SPREAD)*Point; 2012-05-22 10:32:36 { 2012-05-22 10:32:36 int init() 2012-05-22 10:32:36 //+------------------------------------------------------------------+ 2012-05-22 10:32:36 //| | 2012-05-22 10:32:36 //+------------------------------------------------------------------+ 2012-05-22 10:32:36 bool NewOrdersPlaced=false; 2012-05-22 10:32:36 int ticket; 2012-05-22 10:32:36 bool TradeNow=false, LongTrade=false, ShortTrade=false; 2012-05-22 10:32:36 double Stopper=0; 2012-05-22 10:32:36 int cnt=0, total; 2012-05-22 10:32:36 double iLots; 2012-05-22 10:32:36 int NumOfTrades=0; 2012-05-22 10:32:36 datetime timeprev=0, expiration; 2012-05-22 10:32:36 string EAName="Ilan1/4"; 2012-05-22 10:32:36 int flag; 2012-05-22 10:32:36 double LastBuyPrice, LastSellPrice, ClosePrice, Spread; 2012-05-22 10:32:36 double AveragePrice, SellLimit, BuyLimit; 2012-05-22 10:32:36 double PriceTarget, StartEquity, BuyTarget, SellTarget; 2012-05-22 10:32:36 int MagicNumber=12324; 2012-05-22 10:32:36 //---- 2012-05-22 10:32:36 extern double MaxTradeOpenHours=48; 2012-05-22 10:32:36 extern bool UseTimeOut=false; 2012-05-22 10:32:36 extern bool UseTrailingStop=false; 2012-05-22 10:32:36 extern double TotalEquityRisk=20; //loss as a percentage of equity 2012-05-22 10:32:36 extern bool UseEquityStop=false; 2012-05-22 10:32:36 extern int MaxTrades=10; 2012-05-22 10:32:36 extern double PipStep=30; // ðàñòîÿíèþ â ïèïñàõ óáûòêà íà êîòîðîì îòêðûâàåòüñÿ ñëåäóþùèé îðäåð êîëåíà. 2012-05-22 10:32:36 double TrailStop=10; 2012-05-22 10:32:36 double TrailStart=10; 2012-05-22 10:32:36 double Stoploss=500; // ýòè òðè ïàðàìåòðà íå ðàáîòàþò 2012-05-22 10:32:36 extern double TakeProfit=10; // Óðîâåíü ïðèáûëè â ïèïñàç îò öåíû îòêðûòèÿ. 2012-05-22 10:32:36 extern double LotsDigits=2; // 2 - ìèêðîëîòû 0.01, 1 - ìèíè ëîòû 0.1, 0 - íîðìàëüíûå ëîòû 1.0 2012-05-22 10:32:36 extern double Lots=0.1; // òåïåðü ìîæíî è ìèêðîëîòû 0.01 ïðè ýòîì åñëè ñòîèò 0.1 òî ñëåäóþùèé ëîò â ñåðèè áóäåò 0.16 2012-05-22 10:32:36 extern double slip=3; // äîïóñòèìîå ïðîñêàëüçûâàíèå öåíû â ïèïñàõ 2012-05-22 10:32:36 extern double LotExponent=1.667; // óìíîæåíèå ëîòîâ â ñåðèè ïî åêñïîíåíòå äëÿ âûâîäà â áåçóáûòîê. ïåðâûé ëîò 0.1, ñåðèÿ: 0.16, 0.26, 0.43 ... 2012-05-22 10:32:36 extern bool UseAdd=true; // ïåðåîòêðûòèå ñ íîâûì ëîòîì. ëîò äëÿ ïåðåîòêðûòèÿ ñ÷èòàåòñÿ ïî LotExponent íåçàâèñèìî îò MMType ðåêîìåíäóòñÿ = true 2012-05-22 10:32:36 extern bool UseClose=false; // çàêðûòèå ïî óáûòêó PipStep. ðåêîìåíäóòñÿ false 2012-05-22 10:32:36 extern int MMType=1; // Òèï ÌÌ: 0-Lots, 1-êàê áûëî â 1.2, 2-ìàðòèíãåéë (êîýôôèöèåíò LotExponent) 2012-05-22 10:32:36 //---- 2012-05-22 10:32:36 #property copyright "[email protected]" 2012-05-22 10:32:36 //+------------------------------------------------------------------+ 2012-05-22 10:32:36 //| 2008 Ilan1.4 | 2012-05-22 10:32:36 //+------------------------------------------------------------------+ 2012-05-22 10:32:36 1. ERROR in C:\DOCUME~1\ADONAI~1\CONFIG~1\Temp\jfxide\tmp\compile\ADFXNEW.java (at line 1)
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 11:35
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
please change source type to MT4
|
|
|
|
 |
adonaifx
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 11:40
|
|
User rating: 0
Joined: Sun 20 May, 2012, 18:49 Posts: 7
|
when compile no error.. but dont run nothing dont open orders
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 11:46
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
For us the strategy immediately makes a trade on its start. Do you receive any error message on java console? See: viewtopic.php?f=81&t=39073Did you try to back-test the strategy in historical tester?
|
|
|
|
 |
adonaifx
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 11:49
|
|
User rating: 0
Joined: Sun 20 May, 2012, 18:49 Posts: 7
|
File in atach.. why dont create .java only jfx ?
Please test dont run.
Attachments: |
Strategy.jfx [17.53 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.
|
|
|
|
|
 |
adonaifx
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 11:55
|
|
User rating: 0
Joined: Sun 20 May, 2012, 18:49 Posts: 7
|
This srategy in atach run ? no problem ?
no message of error .. nothing show.
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 12:05
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
For us it did open a position. 
Attachments: |
ilan_opens_position.png [91.57 KiB]
Downloaded 740 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.
|
|
|
|
|
 |
adonaifx
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 14:44
|
|
User rating: 0
Joined: Sun 20 May, 2012, 18:49 Posts: 7
|
can you send me your file ? because dont open nothing.. i am using demo account
|
|
|
|
 |
API Support
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 15:11
|
|
User rating: ∞
Joined: Fri 31 Aug, 2007, 09:17 Posts: 6139
|
We used the Strategy.jfx file that you had attached.
|
|
|
|
 |
adonaifx
|
Post subject: Re: JFOREX-3816 ilan 1.4 |
Post rating: 0
|
Posted: Tue 22 May, 2012, 17:06
|
|
User rating: 0
Joined: Sun 20 May, 2012, 18:49 Posts: 7
|
Hi dont job in Demo only in Real , why ?
|
|
|
|
 |
|
Pages: [
1
]
|
|
|
|
|