Thanks! Just FYI, writing a wrapper class in the JForex GUI works as a workaround and I can build jfx files
...
import JIndicators.*;
@Library("jindicators_2.10.jar:scala-library-2.10.4.jar")
public class TestIndicator implements IIndicator {
private _TestIndicator i;
public TestIndicator() {
if (i == null) {
i = new _TestIndicator();
}
}
public void onStart(IIndicatorContext context) {
i.onStart(context);
}
public IndicatorResult calculate(int startIndex, int endIndex) {
return i.calculate(startIndex, endIndex);
}
...