Hello everybody,
here I want to leave fragment of code related to submitOrder:
public void onStart(IContext context) throws JFException {
IEngine engine = context.getEngine();
IHistory history = context.getHistory();
Instrument instrument = Instrument.EURUSD;
context.setSubscr...
Hello everybody,
recently one of my readers asked me to show whole code of taking value of ema.
Here it is:
package jforex;
import java.util.*;
import com.dukascopy.api.*;
public class CountSamples implements IStrategy {
private IEngine engine;
private IConsole console;
private IHistory hi...
Greetings to everybody.
Recently when I visited blog of Paul Lam, I've noticed JFUtil 2.0 alpha demonstration of usage of his library JForex-Utilities.
It is nice example, but very unformatted. It looks like this:
So I've made formatting corrections, and put his sample on my p...
Hello everybody,
Few days ago I had an order for automating forex strategy for 3 minutes time frame in jForex platform.
I faced issue that by default jForex doesn't work with 3 minutes. In order to do this, the following parts were needed for addition:
@Override
public void onStart(IContext con...