Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 06:35:17 +0000



Simple Alert that is able to scan several bars

View Count: 911

[2014-12-25 08:38:45]
Riche - Posts: 20
Hi Sierra,

The Simple Alert currently only trigger when a particular bar is aligned with the subgraphs indicator.
For example, all 5min bars in main chart which corresponds with subgraphs Stochastic above 80, will be color-coded.
The formulae would be = ID1.SG2[0]>80
Now, what I want is, to have 10 bars before Stochastic touches 80, to be color-coded as well.
How am I able to that?
Thank you very much.


[2015-01-03 01:58:43]
Sierra Chart Engineering - Posts: 104368
To accomplish this requires that an alert formula that reference forward bars using the [] operator. This is explained here:
https://www.sierrachart.com/index.php?page=doc/doc_AlertCondAndScan.html#ReferencingDataOtherLastBar

You also probably will need to use the OR function as well:
https://www.sierrachart.com/index.php?page=doc/doc_SpreadsheetFunctions.html
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

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

Login

Login Page - Create Account