Login Page - Create Account

Support Board


Date/Time: Wed, 08 May 2024 01:02:58 +0000



i created a stydy which sends ...

View Count: 450

[2020-12-25 18:31:25]
User39772 - Posts: 311
Hello, i created a stydy which sends an email via play sound if my entry criterion is hit.

Every time I restart SC for every Trigger in the past douzend of email are sent.

How can I avoid this, i.e. how can i make sure that the study does not send emails while loading ?
[2020-12-26 08:01:20]
Sierra Chart Engineering - Posts: 104368
Refer to this section here:
ACSIL Programming Concepts: Not Performing Calculation/Processing during Historical Data Downloading or Full Recalculation
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
[2020-12-27 20:44:34]
User39772 - Posts: 311
Unfortunately this does not work.

I put it in front of my command as follows:

//Wait until Chartbook is loaded
if (sc.IsFullRecalculation || sc.DownloadingHistoricalData) return;
sc.PlaySound(1);


Alert #1 which also sends e-mails, still sends e-mails for every signal in the past every time I restart sc,
e.g. when I compiled the dll.

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

Login

Login Page - Create Account