Login Page - Create Account

Support Board


Date/Time: Fri, 28 Feb 2025 10:16:04 +0000



[Programming Help] - sc.LastCallToFunction

View Count: 710

[2021-08-16 14:31:00]
User316362 - Posts: 210
Question, I have a Custom Study that uses LastCallToFUnction to remove certain user drawings. This works great when removing the study from the chart. However, when "closing Sierra" it does not seem to work and the drawings are still there when I bring up Sierra again.

My question is, does LastCallToFunction" get called upon exiting Sierra? and/or any hints to the problem?
Date Time Of Last Edit: 2021-08-16 14:34:06
[2021-08-16 16:06:42]
PS2004 - Posts: 47
"This variable is useful if you want to do something before the study is removed from the chart or when the chart is being closed."
ACSIL Interface Members - Variables and Arrays: sc.LastCallToFunction

When you close SC, the Charts are closed, so something else will be the cause of the problem.

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

Login

Login Page - Create Account