I have a strategy that involves entering two limit orders:
EnterLongLimit(DefaultQuantity, firstEntryPrice, "1st");
EnterLongLimit(DefaultQuantity, firstEntryPrice, "2nd");
In Initalize() I include the following:
EntriesPerDirection = 1;
EntryHandling = EntryHandling.UniqueEntries;//AllEntries;//.UniqueEntries;
SetProfitTarget("1st",CalculationMode.Ticks, 4);
SetProfitTarget("2nd",CalculationMode.Ticks, 8);
The problem I'm having is that the strategy only executes one contract. When I put in one limit order with 2 contracts in the code it works. But two separate limit orders with two different signal names does not work.
Any suggestions on what might be causing the problem?
Comment