Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 16:54:27 +0000



VWAP color bar based on alart conidtion

View Count: 1119

[2015-06-21 08:37:48]
Neo - Posts: 198
I'm trying to setup a color bar alert for my vwap study.

So Using the color bar based on Alert Condition, how can I setup a color bar alert when price crosses above(SG2) or below( SG3)

Thanks
[2015-06-22 18:46:50]
Sierra Chart Engineering - Posts: 104368
Refer to the documentation here:
http://www.sierrachart.com/index.php?page=doc/doc_AlertCondAndScan.html

There are also examples here:
http://www.sierrachart.com/index.php?page=doc/doc_AlertCondAndScan.html#FormulaExamples

You will need to use the CROSSOVER function in the formula.
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-06-22 21:50:55]
Neo - Posts: 198
Thanks, I managed to figure it out using separate color based alert condition studies.

I'm now wondering if it's possible to combine 2 functions so an alert is true if both conditions are met within x amount of bars or time.

eg "AND(CROSSFROMABOVE (L,ID1.SG5), CROSSFROMBELOW(H,ID1.SG3))" = True if occurs within Bars/time units <20

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

Login

Login Page - Create Account