Support Board
Date/Time: Sat, 19 Apr 2025 09:42:42 +0000
Cancel all orders when flat
View Count: 83
[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: 39362 |
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 [J27] Spreadsheet Systems, Alerts and Automated Trading: Position Quantity [J5 or J8] 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: