Login Page - Create Account

Support Board


Date/Time: Sun, 22 Dec 2024 16:10:32 +0000



[User Discussion] - ???

View Count: 938

[2015-06-07 03:07:08]
Crtfyd - Posts: 278
What study or alert would I use if I wanted to be alerted by a certain event within a study. For instance, In the "Better Volume" chart study, there is a "High Volume Churn" bar that shows up every so often. How do I get an alert (say an arrow on my main chart[it could be within that study too]) when the duration of that bar last showing up has been over x time (ie:90 seconds)?

I cant find any study that would plot that.
Thank You
[2015-06-07 21:22:13]
Crtfyd - Posts: 278
I tried solving this way. To isolate the High Churn Volume bar from the rest of the "Better Volume" studies bars, I added another study "Bar Difference" based on the "High Churn Volume" bars. In its Alerts tab I put:
=c BARTIME>=TIMEVALUE(":00:90")
But I get a syntax error. I think because there are still other "bars" being created, just that they are 0, verses when it gets triggered, then the bar is 1. So I would have to somehow do the alert to do the last bar >=1 that's been over 90 seconds.

[2015-06-07 23:28:50]
Sawtooth - Posts: 4141
Since the High Volume Churn Flag (SG10) doesn't go high until the bar closes, you must be using a bar type that is not time-based, so you could add the Bar Time Duration study and alert when the High Vol Churn bar is >= 90 seconds, like this:

=AND(SG1>=TIMEVALUE("00:01:30"),ID2.SG10>0)

where the Better Volume study is ID2.
Date Time Of Last Edit: 2015-06-08 03:00:02

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

Login

Login Page - Create Account