Login Page - Create Account

Support Board


Date/Time: Wed, 24 Apr 2024 18:46:42 +0000



[Programming Help] - Auto move target based on price

View Count: 543

[2020-03-19 21:39:10]
phaedonk - Posts: 350
I need a study that automatically moves the target limit order to a new price based on a price being hit by the market.
So I will input trigger price and new target price via the chart (with lines probably).

Is there a specific ACSIL file in sierra I can work with to accomplish this myself? Maybe the "triggered limit order entry" one?

Thanks!
[2020-03-19 23:26:56]
Sierra Chart Engineering - Posts: 104368
You just simply modify the order:
Automated Trading From an Advanced Custom Study: Modifying an Order

Also have a look at this function:
sc.GetAttachedOrderIDsForParentOrder()
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
[2020-03-21 12:56:16]
phaedonk - Posts: 350
Thank you for answering. I will be using this function.

I meant if there is a file that is related in any way, and I can work with it, as I'm not at all proficient with programming.

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

Login

Login Page - Create Account