In the VB Code I added in the refererences menĂ¹ NinjaTrader Client. After I wrote the code:
Dim myClient As NinjaTrader_Client.Client
ORDINE = 2
Set myClient = New NinjaTrader_Client.Client
ORDINE = myClient.Command("CANCELALLORDERS", "", "", "", 0, "", 0, 0, "", "", "", "", "")
but he give an error occured. It isn't able to create the ActiveX object.
Can you help me?
tks
Comment