Login Page - Create Account

Support Board


Date/Time: Mon, 03 Feb 2025 06:59:29 +0000



[Programming Help] - Event or code that triggers on indicator close or exit

View Count: 622

[2019-10-22 14:55:20]
jsoctus - Posts: 3
Hello,
Is there a way to execute code when an indicator exits or is closed?
Something similar to sc.SetDefaults but for when the indicator is closing out?
[2019-10-22 20:34:02]
User90125 - Posts: 715
See this thread: How to close any open trade upon removing a custom study?
[2019-10-28 18:47:26]
Sierra Chart Engineering - Posts: 104368
We apologize for the delay with the response. Refer to this variable:
ACSIL Interface Members - Variables and Arrays: sc.LastCallToFunction
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