Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 04:37:22 +0000



[User Discussion] - Alert for Previous Bar Evaluation

View Count: 2493

[2013-04-23 14:10:07]
RadioDC - Posts: 29
Hello

I would like to have the software evaluate the previous bar and alert me if the current bar makes both a new high and a new low compared to the most recent bar. I'm not sure if this would be an alert condition or a custom study. Could you point me in the correct direction to find documentation on this (if there is any)?

Thank you
[2013-04-23 23:40:55]
Sawtooth - Posts: 3976
Here's the documentation:
http://www.sierrachart.com/index.php?l=doc/doc_AlertCondAndScan.html

Try this formula:

=AND(H>H[-1],L<L[-1])
[2013-04-23 23:46:12]
M5amhan - Posts: 468
is there a way to use this formula you just posted and plot it under a bar say using an arrow or something? with color bar based on alert condition?
[2013-04-23 23:50:10]
Sawtooth - Posts: 3976
Yes, put the formula on the Alerts tab of the Color Bar Based On Alert Condition study, and then choose one of the Draw Styles.
[2013-04-24 12:37:58]
RadioDC - Posts: 29
Thank you very much tomgilb...the formula works, and using a colored bar like User51479 suggested is great as well!

D

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

Login

Login Page - Create Account