Support Board
Date/Time: Wed, 12 Mar 2025 04:40:46 +0000
[User Discussion] - Alert for Previous Bar Evaluation
View Count: 2694
[2013-04-23 14:10:07] |
RadioDC - Posts: 30 |
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: 4182 |
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: 4182 |
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: 30 |
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: