Dear all,
I am new in here and have a stupid question concerning the following stupid code

:
package jforex;
import java.util.*;
import com.dukascopy.api.*;
public class simple_outputs1 implements IStrategy {
private IEngine engine;
private IConsole console;
private IHistory history;
private IContext context;
private IIndicators indicators;
private IUserInterface userInterface;
public void onStart(IContext context) throws JFException {
this.engine = context.getEngine();
this.console = context.getConsole();
this.history = context.getHistory();
this.context = context;
this.indicators = context.getIndicators();
this.userInterface = context.getUserInterface();
console.getOut().println("simple_outputs1 is started!! :-)");
IFeedDescriptor feedDescriptor = new TicksFeedDescriptor(Instrument.EURUSD);
IChart openChart(IFeedDescriptor feedDescriptor);
}
public void onAccount(IAccount account) throws JFException {
}
public void onMessage(IMessage message) throws JFException {
}
public void onStop() throws JFException {
console.getOut().println("simple_outputs1 is closed!! :-)");
}
public void onTick(Instrument instrument, ITick tick) throws JFException {
}
public void onBar(Instrument instrument, Period period, IBar askBar, IBar bidBar) throws JFException {
}
}
Why does this not open the EUR-USD chart?
I would like to learn and understand...
Thank you!