I have tried with this:
[SIZE="2"]if (entryLong == null) entryLong = SubmitOrder(0, OrderAction.Buy, OrderType.Limit, 1, Med0 - UnitP, 0, "", "C1"); if (entryShort == null) entryShort = SubmitOrder(0, OrderAction.SellShort, OrderType.Limit, 1, Med0 + UnitP, 0, "", "V1"); [/SIZE]
I thought you had to use BuytoCover or Sell to get flat. What am I doing wrong?
Regards
Lalocom

Comment