I am using this piece of code and it is working....
entryOrder = SubmitOrder(0, OrderAction.Sell,OrderType.Market,5,0,0,"","SellShort");
Now I am trying to set a profit target and stop loss, then modify each depending on market conditions. This is where my problems begin.... For example, I have tried to close the position once it is X number of ticks against me.
entryOrder = SubmitOrder(0, OrderAction.BuyToCover,OrderType.Market,5,0,0,"","SellShort");
Can someone point me in the correct direction. I have looked at the NT help screens and don't see (or have not found) enough examples to guide me. I tried ChangeOrder with no success.
Comment