Support Board
Date/Time: Sat, 08 Nov 2025 21:45:03 +0000
Post From: Non-Attached OCO Orders With Multiple Profit Targets
| [2025-09-09 13:40:31] |
| Sierra_Chart Engineering - Posts: 21343 |
|
Use this order type: SCT_ORDERTYPE_OCO_LIMIT_STOP Refer to: Automated Trading From an Advanced Custom Study: Order Type Constants SCT_ORDERTYPE_OCO_LIMIT_STOP: Use s_NewOrder::Price1 to set the Limit price and s_NewOrder::Price2 to set the Stop price. Use sc.BuyOrder() or sc.SellOrder to submit the order when using this order type. All of the standard Auto Trade Management logic applies when using this order type, so you may want to use Unmanaged Automated Trading when submitting this type of order, so there are no restrictions.
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 |
