Login Page - Create Account

Support Board


Date/Time: Mon, 09 Feb 2026 11:22:59 +0000



[Programming Help] - ACSIL: Move Targets To Price & Move Attached Stops to Price

View Count: 194

[2025-12-18 19:11:42]
User688525 - Posts: 375
Hello Sierra Chart,
I am creating similar right-click "Move Targets To Price" and "Move Attached Stops to Price" functionality using ACSIL.

Is it correct to use "sc.GetOrderByIndex()" to iterate through and identify open orders (limit = SCT_ORDERTYPE_LIMIT, market if touched = SCT_ORDERTYPE_MARKET_IF_TOUCHED) and then use sc.ModifyOrder() to move the orders?

Thank you
[2025-12-25 16:03:49]
ForgivingComputers.com - Posts: 1191
Yes. That will work.
[2025-12-30 09:30:33]
User688525 - Posts: 375
Cheers ForgivingComputers!

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account