Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 12:53:58 +0000



Order List

View Count: 501

[2020-07-01 15:11:27]
gfx2trade - Posts: 48
Hi,
I could successfully compile my cpp file and run a study which automatically places orders.
Once orders are executed, I need to adjust the attached order (i.e stop loss).
I could not find in the documentation instruction on how to scan and then modify non executed attached orders.
Can you please post a link ?
Thks,
B.
[2020-07-02 07:55:09]
Sierra Chart Engineering - Posts: 104368
You just need to modify those orders. Refer to:
Automated Trading From an Advanced Custom Study: Modifying an Order

When submitting the order, you need to remember the returned internal order IDs for the Attached Orders. Those are returned in this data structure:
Automated Trading From an Advanced Custom Study: s_SCNewOrder Structure Members
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-07-02 07:55:20

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

Login

Login Page - Create Account