Bellow example can not be compiled:
https://www.dukascopy.com/wiki/index.php ... _in_JForexError:
15:32:48 ----------
15:32:48 con cannot be resolved
15:32:48 ^^^
15:32:48 con.getOut().println(instr+" "+tick.getAsk()+"/"+tick.getBid());
15:32:48 4. ERROR in C:\DOCUME~1\LOCALS~1\Temp\jfxide\tmp\BasicStrategy.java (at line 24)
15:32:48 ----------
15:32:48 con cannot be resolved or is not a field
15:32:48 ^^^
15:32:48 this.con = context.getConsole();
15:32:48 3. ERROR in C:\DOCUME~1\LOCALS~1\Temp\jfxide\tmp\BasicStrategy.java (at line 11)
15:32:48 ----------
15:32:48 Syntax error on token "con", delete this token
15:32:48 ^^^
15:32:48 private IConsole console con = null;
15:32:48 2. ERROR in C:\DOCUME~1\LOCALS~1\Temp\jfxide\tmp\BasicStrategy.java (at line 5)
15:32:48 ----------
15:32:48 The public type Strategy1 must be defined in its own file
15:32:48 ^^^^^^^^^
15:32:48 public class Strategy1 implements IStrategy {
15:32:48 1. ERROR in C:\DOCUME~1\LOCALS~1\Temp\jfxide\tmp\BasicStrategy.java (at line 4)
15:32:48 ----------
15:32:46 Compiling BasicStrategy.java
Look attached file ..