IsLiveTrading = LastBarOnChart and NTConnected(0);
Since I was having problems and the documentation says "Calling any function in the DLL will automatically initiate a connection to the server" I wondered if NTConnected was sufficient to open the connection, I added a call to NTCashValue() before this, but no success.
If I call NTConnected(1) instead of NTConnected(0), no dialog box is displayed.
Thanks for your help, and great product!

Comment