Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 13:40:46 +0000



Cancel Unfilled Working Order n minutes after entry

View Count: 315

[2023-01-29 22:16:02]
User887126 - Posts: 60
Hi SC team,

I want to add a condition in my ACSIL auto trader to cancel unfilled limit order after certain time (ex: my limit buy order at $3950 is unfilled for 5 minutes. i want to cancel that limit order and wait until next entry signal for next entry). Is there a way i can do that in ACSIL? please advise.
[2023-01-30 02:06:31]
Sierra_Chart Engineering - Posts: 13607
Yes you can get the details of the order with this function:
Automated Trading From an Advanced Custom Study: Getting Order Information

And then compare the EntryDateTime of the order to the current time and then cancel the order.
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

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

Login

Login Page - Create Account