Hi Support,
I found the following code on Jforex WIKI:
public void onStart(final IContext context) throws JFException {
context.subscribeToRangeBarFeed(Instrument.EURUSD, OfferSide.BID, PriceRange.valueOf(1),
new IRangeBarFeedListener() {
public void onBar(Instrument instrument, OfferSide offerSide, PriceRange priceRange,IRangeBar bar) {
console.getOut().println("On Range Bar " + instrument + " " + " " + offerSide + " " + priceRange + " " + bar);
}
}
);
}Could you explain how to use indicators (for example ema) with PriceRange ?
Best regards,
Frank