Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 05:37:48 +0000



Text of alerts sent by email

View Count: 798

[2022-01-23 17:20:04]
User275592 - Posts: 97
Hi,

I am using the alerts sent by email. The alerts are sent to a dedicated gmail account. The mailbox is checked by a telegram bot. Every thing is fine except that the condition used for the alert is very long (around 250 characters) and the bot troncate the text alert at 144 characters. I am looking for a walk around. I need in my alert on telegram the timestamp, the last price and the name of the alert, all present in the alert text.
Is there a way to reduce the length of the condition in the alert text ? (for example, create an alert with the complex condition and a second alert which test if the first one is true or false. The condition included in the alert text would be very small and the all system fine).

Thank you for your help
[2022-01-24 04:46:06]
Sierra Chart Engineering - Posts: 104368
You really have to just create your own custom alert and send an email message using ACSIL:
sc.SendEmailMessage
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: 2022-01-24 04:48:10
[2022-01-24 08:43:24]
User275592 - Posts: 97
thank you for your message

I'd like to keep the flexibility of the alert formula in the study, is it possible to detect when the study formula is true from my acsil program that sends the email ?

Thank you for your help
[2022-02-14 22:07:15]
Sierra Chart Engineering - Posts: 104368
You can use this variable:
ACSIL Interface Members - Variables and Arrays: sc.AlertConditionFlags

However, this only applies to the Alert Formula in the study instance, which is accessing it.
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