if (condition1)
{
EnterLongLimit(0, true, this._long_order.qty_1, enPrice + 4.67, "Long 1");
}
if (condition2)
{
EnterLongLimit(0, true, this._long_order.qty_2, enPrice + 3.98, "Long 2");
}
if (condition3)
{
EnterLongLimit(0, true, this._long_order.qty_3, enPrice + 2.45, "Long 3");
}
According to the suggestions I changed the values of EntriesPerDirection = 30 (high number just for example) and EntryHandling = EntryHandling.UniqueEntries; but this also did not solve the problem.

Comment