Login Page - Create Account

Support Board


Date/Time: Fri, 03 May 2024 10:06:09 +0000



Post From: Backtest/Replay - possible to use timer for flattening positions & cancel orders?

[2019-11-12 18:13:31]
Sierra Chart Engineering - Posts: 104368
This can certainly be done. You would want to examine the date-time in:
ACSIL Interface Members - Variables and Arrays: sc.BaseDateTimeIn[]

And then take the action that you need to.

An example of something related to this is in: /ACS_Source/TradingSystemBasedOnAlertCondition.cpp

This is in the Sierra Chart installation folder.

Have a look at how this variable is used: Input_AllowTradingOnlyDuringTimeRange
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: 2019-11-12 18:14:22