Login Page - Create Account

Support Board


Date/Time: Sun, 28 Apr 2024 23:52:03 +0000



ACSIL Flatten open position

View Count: 1271

[2018-04-25 12:54:19]
User39772 - Posts: 311
Sometimes during backtesting my strategy a position remains open and I have to flatten it manualle via
Trade Window after the backtest finished.

Is there a function available that flattens open positions if a backtest is finished automatically or
ist there a flag or variable available that indicates a finished backtest, so that I can implement such
a function in ACSIL by myself ?
[2018-04-25 17:55:59]
Sierra Chart Engineering - Posts: 104368
You can use this variable to check the state of a replay:
ACSIL Interface Members - Variables and Arrays: sc.ReplayStatus
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

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

Login

Login Page - Create Account