Support Board
Date/Time: Mon, 23 Dec 2024 01:03:37 +0000
alert email from acsil
View Count: 1125
[2015-05-26 10:36:09] |
User53496 - Posts: 34 |
Hi, I am trying to send an email from acsil. Followed the instructions and defined: 1. in General Settings, Alerts: Defined Alert1 to send an email and set address 2. in General Trade Settings defined "Play alert when order fills" to Alert1 Now in the code i use sc.SetAlert(1, "xyz") but in alerts log after replay I see "no alert sound/email" so what am I doing wrong?? regards, Eyal. |
[2015-05-26 13:31:23] |
Sierra Chart Engineering - Posts: 104368 |
Do you mean you do not see an alert message or line in the Alerts Log added after calling that function? If so, then this means the function call was ignored. Refer to the documentation for more 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 Date Time Of Last Edit: 2015-05-26 13:31:42
|
[2015-05-26 13:54:28] |
User53496 - Posts: 34 |
I do see a line in the alert manager, with all the details in alert text column and "formula:xyz", but in the end of this line it said: "No alert sound/email" so it means the function was called and parameters were passed, but something in the definitions of alert1 maybe was wrong? |
[2015-05-28 05:03:18] |
Sierra Chart Engineering - Posts: 104368 |
We have looked into this and we have determined this occurs during a back test. There will not be alert sounds or emails during a back test. We will update the documentation to explain this. 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-05-28 07:13:06] |
User53496 - Posts: 34 |
Great. So it works in live? In the mean time I used "sc.PlaySoundA" and it does work on back test. My guess is that generally alerts should not work on back test because it can cause sending too many emails at once. |
[2015-05-28 07:19:12] |
Sierra Chart Engineering - Posts: 104368 |
Yes it will work when not running a back test.
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: