Live account, JForex API Ver. 2.9.6.2
I've written a JForex Strategy (1-min EUR/USD) which backtests fine, any period, but when I try to run it live, at the end of the first 1-min bar it throws the exception shown in the attached image below.
With a bit of rearranging the order of the code, I have managed to get it to identify a line number in the onBar method, but this line has nothing to do with anything going on in the onMessage method...
Strange that it should work without problems in the historical tester though, no?
Anyone else had a problem like this / got any ideas?
Cheers!