After doing some testing and research, it seems that what the remote server is "not likeing" could be the following lines of code:
context.subscribeToPointAndFigureFeed(selectedInstrument, OfferSide.BID, PriceRange.valueOf(1), ReversalAmount.valueOf(3),
new IPointAndFigureFeedListener() {
public void onBar(Instrument instrument, OfferSide offerSide, PriceRange priceRange, ReversalAmount reversalAmount, IPointAndFigure bar) {
prevBar2=prevBar1;
prevBar1=bar;
}
}
);
What API version is running on the remote servers? Because it could be different from the one on the JForex DEMO and that could explain why it works if i run it locally on my DEMO but it doesn't run remotely on the same DEMO platform.