Login Page - Create Account

Support Board


Date/Time: Thu, 19 Feb 2026 11:42:22 +0000



[Programming Help] - Is it possible in ACSIL for a study control a chart's autotrading enabled state?

View Count: 150

[2025-12-31 18:19:35]
gambcl - Posts: 16
Just curious, I was thinking about making a study to disable/enable autotrading on the current chart depending on various criteria, such as time of day, daily PnL, etc.

I normally build such trading permission filters into individual strategies, but I thought this might be a way to make it common functionality, outside of any individual strategy.

I can't see anything in the docs, is this possible to achieve?
[2026-01-06 10:14:43]
gambcl - Posts: 16
Can anyone from SierraChart please confirm if this is possible or not using ACSIL?
[2026-01-06 15:42:46]
John - SC Support - Posts: 44695
There is not an option to set the Auto Trading settings, but there is for "Trading Locked". Refer to the following:
ACSIL Interface Members - Functions: sc.SetTradingLockState()
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:

Login

Login Page - Create Account