Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 16:53:25 +0000



Setting up an alert with several coding and conditions

View Count: 845

[2017-01-03 17:29:44]
isa74 - Posts: 54
Sir,

I would like to know if it is possible to have one single alert that would trigger only if all the conditions are fully filled, conditions that would be specific in several indicators ?

For example, if I want these 2 conditions to be respected to launch a specific sound alert file:

MACD curve cross signal curve: CROSSOVER(ID13.SG1.ID13.SG2)
CCI curve cross level +100 : =OR(CROSSOVER(SG1,-100),CROSSOVER(SG1,-200),CROSSOVER(SG1,100),CROSSOVER(SG1,200))

Each coding line will be implemented on each indicator, right ?

How do I link them together ?

Thanks !
[2017-01-03 18:38:05]
Sierra Chart Engineering - Posts: 104368
You will need to use the AND function. Here is the relevant documentation for this:
http://www.sierrachart.com/index.php?page=doc/StudyChartAlertsAndScanning.php#ORANDFunctions

The formula will need to go either on the CCI or MACD. Formulas can reference other studies. Refer to:
http://www.sierrachart.com/index.php?page=doc/StudyChartAlertsAndScanning.php#ReferencingOtherStudies
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
[2024-05-22 13:43:37]
Juno Best Day Ever - Posts: 3
Hello,
I would like to have a buy trigger (Trade System) based on more than one alert/condition.

I have one set up for a single condition, can you please explain how to add alerts/conditions to the Trade Sysytem?

I am a beginner.
[2024-05-22 14:57:24]
John - SC Support - Posts: 36238
As mentioned above, you need to use the AND() and/or OR() functions. Here is the link to the information for these:
http://www.sierrachart.com/index.php?page=doc/StudyChartAlertsAndScanning.php#ORANDFunctions


Also, all the documentation for how to setup Alert formulas is at the following link:
Study/Chart Alerts And Scanning
For the most reliable, advanced, and zero cost futures order routing, use 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