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.

Errors compiling some Dukascopy Strategies in JStore
 Post subject: Errors compiling some Dukascopy Strategies in JStore Post rating: 0   New post Posted: Thu 19 Dec, 2013, 23:40 

User rating: 3
Joined: Sat 04 May, 2013, 03:34
Posts: 33
Location: CanadaCanada
The following strategies in JStore have Dukascopy as the creator. I get errors on compiling them. I want to try them out so could someone at Dukascopy who published them take a look and correct them and put new versions up on JStore

Pivot.java
PivotSignals.java

Compile Errors for the 2 strategies

2013-12-19 22:25:47 ----------
2013-12-19 22:25:47 The public type PivotSignals_NoConfigurables must be defined in its own file
2013-12-19 22:25:47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2013-12-19 22:25:47 public class PivotSignals_NoConfigurables implements IStrategy {
2013-12-19 22:25:47 1. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\PivotSignals.java (at line 16)
2013-12-19 22:25:47 ----------
2013-12-19 22:25:46 Compiling PivotSignals.java
2013-12-19 22:21:30 ----------


2013-12-19 22:21:30 S3 cannot be resolved
2013-12-19 22:21:30 ^^
2013-12-19 22:21:30 case S3:
2013-12-19 22:21:30 13. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 178)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 S2 cannot be resolved
2013-12-19 22:21:30 ^^
2013-12-19 22:21:30 case S2:
2013-12-19 22:21:30 12. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 175)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 S1 cannot be resolved
2013-12-19 22:21:30 ^^
2013-12-19 22:21:30 case S1:
2013-12-19 22:21:30 11. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 172)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 R3 cannot be resolved
2013-12-19 22:21:30 ^^
2013-12-19 22:21:30 case R3:
2013-12-19 22:21:30 10. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 169)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 R2 cannot be resolved
2013-12-19 22:21:30 ^^
2013-12-19 22:21:30 case R2:
2013-12-19 22:21:30 9. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 166)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 R1 cannot be resolved
2013-12-19 22:21:30 ^^
2013-12-19 22:21:30 case R1:
2013-12-19 22:21:30 8. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 163)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 P cannot be resolved
2013-12-19 22:21:30 ^
2013-12-19 22:21:30 case P:
2013-12-19 22:21:30 7. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 160)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 Cannot switch on a value of type Pivot. Only convertible int values or enum constants are permitted
2013-12-19 22:21:30 ^^^^^
2013-12-19 22:21:30 switch(pivot) {
2013-12-19 22:21:30 6. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 159)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 Pivot.P cannot be resolved
2013-12-19 22:21:30 ^^^^^^^
2013-12-19 22:21:30 double price = getRoundedPrice(getPivotPrice(Pivot.P, previousBidBar) - getPipPrice(shift));
2013-12-19 22:21:30 5. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 135)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 Pivot.P cannot be resolved
2013-12-19 22:21:30 ^^^^^^^
2013-12-19 22:21:30 double price = getRoundedPrice(getPivotPrice(Pivot.P, previousAskBar) + getPipPrice(shift));
2013-12-19 22:21:30 4. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 122)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 The nested type Pivot cannot hide an enclosing type
2013-12-19 22:21:30 ^^^^^
2013-12-19 22:21:30 public enum Pivot {
2013-12-19 22:21:30 3. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 63)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 Pivot.S1 cannot be resolved
2013-12-19 22:21:30 ^^^^^^^^
2013-12-19 22:21:30 public Pivot bottomPivotLine = Pivot.S1;
2013-12-19 22:21:30 2. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 38)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:30 Pivot.R1 cannot be resolved
2013-12-19 22:21:30 ^^^^^^^^
2013-12-19 22:21:30 public Pivot topPivotLine = Pivot.R1;
2013-12-19 22:21:30 1. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 36)
2013-12-19 22:21:30 ----------
2013-12-19 22:21:29 Compiling Pivot.java
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 S3 cannot be resolved
2013-12-19 22:21:22 ^^
2013-12-19 22:21:22 case S3:
2013-12-19 22:21:22 13. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 178)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 S2 cannot be resolved
2013-12-19 22:21:22 ^^
2013-12-19 22:21:22 case S2:
2013-12-19 22:21:22 12. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 175)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 S1 cannot be resolved
2013-12-19 22:21:22 ^^
2013-12-19 22:21:22 case S1:
2013-12-19 22:21:22 11. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 172)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 R3 cannot be resolved
2013-12-19 22:21:22 ^^
2013-12-19 22:21:22 case R3:
2013-12-19 22:21:22 10. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 169)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 R2 cannot be resolved
2013-12-19 22:21:22 ^^
2013-12-19 22:21:22 case R2:
2013-12-19 22:21:22 9. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 166)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 R1 cannot be resolved
2013-12-19 22:21:22 ^^
2013-12-19 22:21:22 case R1:
2013-12-19 22:21:22 8. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 163)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 P cannot be resolved
2013-12-19 22:21:22 ^
2013-12-19 22:21:22 case P:
2013-12-19 22:21:22 7. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 160)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 Cannot switch on a value of type Pivot. Only convertible int values or enum constants are permitted
2013-12-19 22:21:22 ^^^^^
2013-12-19 22:21:22 switch(pivot) {
2013-12-19 22:21:22 6. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 159)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 Pivot.P cannot be resolved
2013-12-19 22:21:22 ^^^^^^^
2013-12-19 22:21:22 double price = getRoundedPrice(getPivotPrice(Pivot.P, previousBidBar) - getPipPrice(shift));
2013-12-19 22:21:22 5. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 135)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 Pivot.P cannot be resolved
2013-12-19 22:21:22 ^^^^^^^
2013-12-19 22:21:22 double price = getRoundedPrice(getPivotPrice(Pivot.P, previousAskBar) + getPipPrice(shift));
2013-12-19 22:21:22 4. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 122)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 The nested type Pivot cannot hide an enclosing type
2013-12-19 22:21:22 ^^^^^
2013-12-19 22:21:22 public enum Pivot {
2013-12-19 22:21:22 3. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 63)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 Pivot.S1 cannot be resolved
2013-12-19 22:21:22 ^^^^^^^^
2013-12-19 22:21:22 public Pivot bottomPivotLine = Pivot.S1;
2013-12-19 22:21:22 2. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 38)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:22 Pivot.R1 cannot be resolved
2013-12-19 22:21:22 ^^^^^^^^
2013-12-19 22:21:22 public Pivot topPivotLine = Pivot.R1;
2013-12-19 22:21:22 1. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 36)
2013-12-19 22:21:22 ----------
2013-12-19 22:21:21 Compiling Pivot.java
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 S3 cannot be resolved
2013-12-19 22:21:01 ^^
2013-12-19 22:21:01 case S3:
2013-12-19 22:21:01 13. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 178)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 S2 cannot be resolved
2013-12-19 22:21:01 ^^
2013-12-19 22:21:01 case S2:
2013-12-19 22:21:01 12. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 175)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 S1 cannot be resolved
2013-12-19 22:21:01 ^^
2013-12-19 22:21:01 case S1:
2013-12-19 22:21:01 11. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 172)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 R3 cannot be resolved
2013-12-19 22:21:01 ^^
2013-12-19 22:21:01 case R3:
2013-12-19 22:21:01 10. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 169)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 R2 cannot be resolved
2013-12-19 22:21:01 ^^
2013-12-19 22:21:01 case R2:
2013-12-19 22:21:01 9. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 166)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 R1 cannot be resolved
2013-12-19 22:21:01 ^^
2013-12-19 22:21:01 case R1:
2013-12-19 22:21:01 8. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 163)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 P cannot be resolved
2013-12-19 22:21:01 ^
2013-12-19 22:21:01 case P:
2013-12-19 22:21:01 7. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 160)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 Cannot switch on a value of type Pivot. Only convertible int values or enum constants are permitted
2013-12-19 22:21:01 ^^^^^
2013-12-19 22:21:01 switch(pivot) {
2013-12-19 22:21:01 6. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 159)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 Pivot.P cannot be resolved
2013-12-19 22:21:01 ^^^^^^^
2013-12-19 22:21:01 double price = getRoundedPrice(getPivotPrice(Pivot.P, previousBidBar) - getPipPrice(shift));
2013-12-19 22:21:01 5. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 135)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 Pivot.P cannot be resolved
2013-12-19 22:21:01 ^^^^^^^
2013-12-19 22:21:01 double price = getRoundedPrice(getPivotPrice(Pivot.P, previousAskBar) + getPipPrice(shift));
2013-12-19 22:21:01 4. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 122)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 The nested type Pivot cannot hide an enclosing type
2013-12-19 22:21:01 ^^^^^
2013-12-19 22:21:01 public enum Pivot {
2013-12-19 22:21:01 3. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 63)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 Pivot.S1 cannot be resolved
2013-12-19 22:21:01 ^^^^^^^^
2013-12-19 22:21:01 public Pivot bottomPivotLine = Pivot.S1;
2013-12-19 22:21:01 2. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 38)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:01 Pivot.R1 cannot be resolved
2013-12-19 22:21:01 ^^^^^^^^
2013-12-19 22:21:01 public Pivot topPivotLine = Pivot.R1;
2013-12-19 22:21:01 1. ERROR in C:\Users\User\Local Settings\JForex\User\jfxide\tmp\compile\Pivot.java (at line 36)
2013-12-19 22:21:01 ----------
2013-12-19 22:21:00 Compiling Pivot.java


 
 Post subject: Re: Errors compiling some Dukascopy Strategies in JStore Post rating: 0   New post Posted: Thu 02 Jan, 2014, 09:07 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
If you rename the strategies you also have to rename the java files to the same name.


 

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