Login Page - Create Account

Support Board


Date/Time: Tue, 16 Sep 2025 03:26:47 +0000



Post From: Managing mutliple attached orders using ACSIL

[2019-07-10 15:15:50]
tomas262 - Posts: 153
Hello,

I trade manually using market orders.

I have managed to build ACSIL code to control attach orders (SL + PT) and adjust them for a slippage on entry (fill price VS indicator signal). This works well when trading 1 contract.

Now I would like to setup a scenario with 3 contracts each having different setup for targets + stops + move to B/E. I would like to manage all these attached orders individually using ACSIL. I see sc.GetNearestTargetOrder() only selects the nearest but I use PT1 30 ticks, PT2 40 ticks and PT3 50 ticks. In case of slippage I want to adjust all of them one by one.

Can it be done using ACSIL? Is there any example around?