I am looking to enter into a multiple-contract position and set a profit target for each contract separately in different places. However, I have not found a way to achieve this so far. The way that I have tried doing it was:
EnterLongLimit(ContractSize, limitPrice, orderName1); EnterLongLimit(ContractSize, limitPrice, orderName2); EnterLongLimit(ContractSize, limitPrice, orderName3); SetProfitTarget(orderName1, CalculationMode.Ticks, TakeProfitTickSizeFirst); SetProfitTarget(orderName2, CalculationMode.Ticks, TakeProfitTickSizeSecond); SetProfitTarget(orderName3, CalculationMode.Ticks, TakeProfitTickSizeThird);
Regards,
Pouya
Comment