FUNCTION Command ( Command, account, instrument, action: pchar; quantity: Integer; OrderType: pchar; limitPrice, stopPrice: double; timeInForce, oco, orderID, strategy, strategyID: pchar): integer; stdcall; external 'NtDirect.dll';
J := Command (pchar('Change'), pchar(''), pchar(''), pchar(''), 0, pchar(''), OrderPrice, 0, pchar(''), pchar(''), pchar(OrderID), pchar(''), pchar(''));
I am running with Sim101 as the default NinjaTrader account.
Comment