I am working on some custom Easy language scripts with the ATI interface to Ninjatrader. In using the NTCommand listed below I ran into a issue. It seems that if I send a Market or Limit order with the NTCommand my stop is ignored. In the log I see the order come in as a market order, and the stop I passed in shows up in the stop field, but when my Strategy receives the order it uses the stop setup in the strategy option under the strategy box not the stop I passed in. Is there a way around this ? Any comments or help would be appreciated.
Thanks
SendCommandSuccess = NTCommand("PLACE","AcctName","SELL",1,"MARKET",0,( localmax + .0002),"GTC","",orderidstring,"StradegyName","");

Comment