Login Page - Create Account

Support Board


Date/Time: Wed, 01 Jan 2025 13:50:16 +0000



alert

View Count: 723

[2016-05-19 01:15:11]
Crtfyd - Posts: 281
I'm trying to set an alert to one of my subgraphs when the LAST two bars are at .50
I'm using the "Color bar based on Alert condition" for my subgraph "Studies Subgraph Difference"(ID25).
When I put in " =ID25.SG1 = .5 ", the alert worked fine for the current bar.
When I changed (added the last bar text) " =ID25.SG1 = .5, AND ( ID25.SG1 [-1] = .5) " it doesn't work.

I figured just adding the [-1] to the current config would do it. What am I doing wrong. Thanks
[2016-05-19 04:17:48]
Sierra Chart Engineering - Posts: 104368
Refer to the documentation here for the proper use of the AND function:
http://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