Login Page - Create Account

Support Board


Date/Time: Fri, 19 Apr 2024 13:59:35 +0000



Concatenation of alerts

View Count: 574

[2018-04-20 12:19:20]
User470516 - Posts: 78
Good morning,

I am struggling sending out two alerts one after another during the same bar, so as to "concatenate" them. The documentation stipulates : "During a call into a study function, if there are multiple calls to sc.SetAlert() at the same or different bar indexes, only one will actually generate an alert. The rest will be ignored."

I am trying to achieve the following: play alert "BUY DAX" and immediately after play alert "Bar period 60 Minutes". I am right if I say this not possible within ACSIL? Could it be possible in the future? For instance if the fucntion could do:

sc.alert(int NumberOfAlerts, int AlertNumber#1, int AlertNumber#2, int AlertNumber#3,..., int Index, SCString Message);

Thank you for your support.

Regards,

Laurent
[2018-04-20 19:13:12]
Sierra Chart Engineering - Posts: 104368
You need to use this particular function:

sc.AlertWithMessage


Refer to:
sc.PlaySound()
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