Login Page - Create Account

Support Board


Date/Time: Thu, 09 May 2024 11:09:49 +0000



[Programming Help] - Alert to shows a open order with -X profit

View Count: 779

[2018-03-08 13:14:15]
User271989 - Posts: 44
Is it possible to set a alert wich will send a email when there is a opened order that have -X in profit?
[2018-03-08 23:41:44]
Sierra Chart Engineering - Posts: 104368
This would have to be custom programmed. Refer to:
Advanced Custom Study Interface and Language (ACSIL)
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: 2018-03-08 23:42:06
[2018-03-09 01:35:48]
User553714 - Posts: 184
You first configure the specific Alert Number you want the email sent through;
Global Settings >> General Settings >> Alerts/General 3,
then choose the alert from the drop down menu, say Alert No.10 and then tick the appropriate boxes... "send email when this alert is triggered"... there are also 3-display options at the bottom you can choose from, I usually use the middle or the bottom to avoid superfluous information in the email header.
You then use ACSIL to set the criteria, you will need to access the OpenProfitLoss member which is part of the _SCPositionData structure, the alert is set using the below functions
sc.SetAlert()
sc.PlaySound()

I'm not sure if you can do it using spreadsheets as it's been a long time since I have used them.

Regards

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

Login

Login Page - Create Account