Login Page - Create Account

Support Board


Date/Time: Mon, 20 May 2024 02:14:07 +0000



[Programming Help] - Multiple Alerts on one graph

View Count: 1524

[2019-01-04 05:20:59]
stocknerd1 - Posts: 10
Hello, I have 3 kind of short blocks of code for 3 different alerts to apply to the same chart and I'm wondering how this can be done. Ive seen some of the other posts that mention using AND() and OR() functions for multiple alerts.
Would this be the way to apply these? or could I apply these with three separate files somehow? Thank you for your time in advance.
Date Time Of Last Edit: 2019-01-04 05:21:30
[2019-01-04 15:00:59]
Sawtooth - Posts: 4001
1. If you include the ID#s of the studies in your formulas, you can put each one on an Alert tab of any study.
You can also put one on the Alerts tab of the Chart Settings.
You can use the Alert Manager to remind you where you put them.

2. You could add 3 instances of the Color Bar Based On Alert Condition study and put each alert on an Alerts tab, and set the Draw Style to Hidden. And you could add a Short Name so they were easily identified in the Studies to Graph list. You will need to include the ID#s of the studies in your formulas.

3. You could combine them using =OR(alert1,alert2,alert3) You will probably need to include the ID#s of the studies in your formulas.

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

Login

Login Page - Create Account