Hi,
here we go... another problem...
IClientInfo null..
Please see...
public void onBar(Instrument instrument, Period period, IBar askBar, IBar bidBar) throws JFException {
print("clientInfo.getClientId() "+clientInfo.getClientId());//<----NULLPointer
/*//CLIENT ID
for(IClientInfo clInfo : context.getAccount().getClients()){
print("for: clientInfo.getClientId() "+clInfo.getClientId());
}
*/
}
OutPut:
15:58:10 Strategy "ClientInfo" is stopped at 2014-12-01 15:58:12.285 GMT on the local computer with no parameters. Reason: Stopped by Engine
15:58:10 Stopping "ClientInfo" strategy at 2014-12-01 15:58:12.283 GMT on the local computer
15:58:10 java.lang.NullPointerException @ jforex.ClientInfo.onBar(ClientInfo.java:44)