Login Page - Create Account

Support Board


Date/Time: Wed, 15 Jan 2025 15:26:51 +0000



sc.SetAlert vs sc.PlaySound vs sc.AddAlertLine

View Count: 992

[2017-08-15 23:04:35]
Dryheat31 - Posts: 13
When I view documentation on the three main methods for setting alerts I find that it is recommended to use sc.SetAlert. As mentioned here: http://www.sierrachart.com/index.php?page=doc/ACSIL_Members_Functions.html#scPlaySound

However the sc.SetAlert function does not provide a parameter for opening the Alert Log if it is not already open. The other two methods, sc.PlaySound and sc.AddAlertLine, do provide a parameter for opening the Alert Log.

There seems to be something missing here. If sc.SetAlert is the recommended method, shouldn't it provide this functionality?
[2017-08-16 01:03:45]
Sierra Chart Engineering - Posts: 104368
This is from the documentation for that function:


When the alert by the sc.SetAlert() function is processed, and a message is added to the Alerts Log, the Alerts Log can be automatically opened by enabling the Global Settings >> General Settings >> General 2 >> Show Alerts Log on Study Alert option.

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
Date Time Of Last Edit: 2017-08-16 01:06:04

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

Login

Login Page - Create Account