Support Board
Date/Time: Fri, 31 Oct 2025 18:40:48 +0000
Run ACSIL code on window focus
View Count: 963
| [2018-02-28 19:31:36] | 
| aknsyu71@gmail - Posts: 60 | 
| Run the code one time but every time the window receives focus. Ive tried sc.ChartWindowIsActive but it runs the code many times. Many thanks | 
| [2018-02-28 22:01:09] | 
|  | 
| The only way to do this  is to use this member: ACSIL Interface Members - Variables and Arrays: sc.UpdateAlways And then you can check sc.ChartWindowIsActive to see if the chart is active. 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:
