Login Page - Create Account

Support Board


Date/Time: Sat, 21 Dec 2024 18:28:40 +0000



Alert dialog

View Count: 887

[2015-03-27 17:38:49]
onnb - Posts: 662
When I call SetAlert I get a message that looks like this:
Alert - Chart: ESM15 15 Min #1 | Study: Signal-Alert | Formula: Entering Bullish Market Alert | Last Price: 2050.00 | Bar Start Time: 2015-03-27 11:15:00 | Alert: Alert 1


Wen I call AddAlertLine I get a message that looks like this:
Entering Bullish Market Alert | Chart: ESM15 15 Min #1 | Study: Signal-Alert


Shouldn't AddAlertLine produce a line that has the same formatting and info as SetAlert?
[2015-03-27 17:43:39]
Sierra Chart Engineering - Posts: 104368
Not really. We could make portions of them more consistent but they will be different.
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
[2015-03-27 17:54:57]
onnb - Posts: 662
I'm using AddAlertLine to put message to the alert log for historical bars.
Looking at the two messages, all the data is available in both real time and historical.

From your answer I understand that AddAlertLine is not always used in the context of historical or maybe I'm missing something.
Perhaps I'm not using the api correctly? Is there a different way to add alerts for historical bars?
[2015-03-31 18:10:44]
Sierra Chart Engineering - Posts: 104368
What is it you are specifically looking for when using sc.AddAlertLine?

It is not possible for us to add: "Last Price: 2050.00 | Bar Start Time: 2015-03-27 11:15:00" since that function was not designed to provide this information.
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