Login Page - Create Account

Support Board


Date/Time: Thu, 19 Mar 2026 17:07:29 +0000



ACSIL - read state of trading lock triggered by Global Profit/Loss Management

View Count: 21

[2026-03-19 13:44:14]
curious16 - Posts: 37
The global profit/loss management panel offers to lock trading after a set daily loss is reached and positions have been flattened.
There is a lock option and a further "lock for the day" option. I assume these locks set a flag in one of the SC config files so
that the lock state is maintained when SC is restarted.

This is all fine but it interferes with automated trading code. It would be very helpful to get an ACSIL function for reading the
state of this hidden trade lock. The sc.TradingIsLocked variable reads only the lock that can be manually set via Trade > Trading Locked.

Could you perhaps add a variable such as sc.TradingLockedByLossManagement? Alternatively, could you let me know where I can find this
lock state in the SC configuration files?
Date Time Of Last Edit: 2026-03-19 13:44:44

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

Login

Login Page - Create Account