Login Page - Create Account

Support Board


Date/Time: Tue, 21 Jan 2025 04:10:06 +0000



[Programming Help] - Spreadsheet Trading Emergency Flatten & Cancel All

View Count: 1084

[2018-07-30 17:51:08]
User360283 - Posts: 506
I want to have an automatic emergency stop loss order that cancels all open orders and flattens.
I have created a Trading spreadsheet and have added the Study "Trading Daily Profit/Loss.
I want to have the Cancel All and Flatten generated when the Daily P/L is less than an input number, eg <$999.
How can I code this?

Thanks
[2018-07-30 18:36:30]
Sierra Chart Engineering - Posts: 104368
We think it is going to be best to use this functionality instead:
Global Profit/Loss Management
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
[2018-07-30 20:01:28]
User360283 - Posts: 506
thanks. It's helpful even if a bit complicated.
Would it be possible to have a "Turn on and Reset button" for the Loss Management feature appear on the "Trade Window for Chart"? I think this would be helpful for most retail traders with small accounts. (I did get clobbered on Friday 7/27 and couldn't hit the Cancel All and Flatten buttons fast enough.)
[2018-07-31 07:01:35]
User360283 - Posts: 506
The "Global Profit Loss Management" is very comprehensive but for the typical retail trader it is much too complicated.

I suggest that it could be simplified by having the controls on the Trade Window for Chart.

By adding a Stop Loss amount to the Targets and a On/Off/Reset Button on the main and Compact panel.

Thanks

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

Login

Login Page - Create Account