Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 00:53:10 +0000



[Programming Help] - A way to read Trade window parameters from ACSIL or parse twconfig

View Count: 380

[2024-07-04 20:50:44]
barucho - Posts: 11
Hello,

I need a way to get the attached stop order price/offset from ACSIL for risk management calculation purposes.

Thank you!
Date Time Of Last Edit: 2024-07-04 20:51:21
[2024-07-05 16:50:54]
barucho - Posts: 11
I’m not sure why this was moved to programming help because the SDK doesn’t give access to what I need…
Date Time Of Last Edit: 2024-07-05 16:51:09
[2024-07-05 19:41:03]
ForgivingComputers.com - Posts: 960
I need a way to get the attached stop order price/offset from ACSIL for risk management calculation purposes.

This is something that I requested in 2018. ACSIL function to read Trade Window values and Default Order Quantity

Only the Trade Window Order Quantity is exposed in ACSIL. Your study has to get the stop and target from study settings, a spreadsheet, or from a text file. It can then set up to 5 OCO brackets per order.
[2024-07-05 20:12:09]
barucho - Posts: 11
Thanks for the response, I found your post in my research and was hoping SC would be more willing to open a path for us to access now.

I’m currently parsing SL out of the twconfig file name, but am hoping to get something less prone to user error.

I feel like this would be a valuable feature!
[2024-07-09 13:42:23]
Sierra_Chart Engineering - Posts: 17154
We will see if it is not difficult to add an ACSIL function to get the Attached Orders on the Trade Window for the chart.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2024-07-09 13:42:34
[2024-07-18 15:44:47]
Sierra_Chart Engineering - Posts: 17154
We are working on adding this function but it is involved. You will see it in the latest Sierra Chart header file but it is not fully implemented.
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, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-07-19 12:31:42]
barucho - Posts: 11
Awesome, Thank you!!!!

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

Login

Login Page - Create Account