Support Board
Date/Time: Thu, 28 Aug 2025 07:26:22 +0000
Cancel all orders when flat
View Count: 240
[2025-03-18 13:02:26] |
c_currency - Posts: 6 |
Hello, Is there a function within Sierra Chart that allows all existing orders to be cancelled when a position becomes flat?q |
[2025-03-18 17:04:32] |
John - SC Support - Posts: 41508 |
You could use the "Spreadsheet System for Trading" to do this. There is an entry in the I/J columns for "Cancel Working Orders". You could have this check the I/J entry for "Position Quantity" and set the entry to 1 when the quantity is zero. Refer to the following: Spreadsheet Systems, Alerts and Automated Trading: Cancel Working Orders (read/write) [v1:J27, v2:J89] Spreadsheet Systems, Alerts and Automated Trading: Position Quantity (read-only) [v1:J5, v2:J31] 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: