Login Page - Create Account

Support Board


Date/Time: Thu, 28 Mar 2024 11:55:42 +0000



ACSIL , howto use sc.FlattenAndCancelAllOrders at end of Session?

View Count: 954

[2018-07-08 15:57:13]
TedMar - Posts: 189
Im not understand how works sc.FlattenAndCancelAllOrders .
Any one have code example of, GetTime current time (not at bar Close) and Flatten and Cancel orders, 1 min before ends trading session?
[2018-07-09 16:21:08]
Sierra Chart Engineering - Posts: 104368
We really recommend using this option on the Trade Window for the chart to make this easy:
Basic Trading and the Trade Window: A >> Flatten And Cancel at Set Time
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
Date Time Of Last Edit: 2018-07-09 16:21:26

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

Login

Login Page - Create Account