Login Page - Create Account

Support Board


Date/Time: Thu, 06 Nov 2025 02:49:00 +0000



Post From: Need help to setup alert based on a specific condition

[2025-11-03 15:49:17]
John - SC Support - Posts: 42801
A "Red" candle is one in which the Close is less than the Open, and a "Green" candle is one in which the Close is higher than the Open. Therefore, to check if a candle is red, you would use the following:
=C < O

Where C is the Close and O is the Open. Refer to the following:
Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables

For the delta, you need to get that information from somewhere. The easiest source is the "Numbers Bars Calculated Values" study, where it is Subgraph 1. So to check is the Delta is positive, you would have the following:
=ID1.SG1 > 0

Where ID1 is the ID of the "Numbers Bars Calculated Values" study. Refer to the following:
Numbers Bars: Displaying Numeric Information Below Numbers Bars

To put these together, you use an AND() function, like the following:
=AND(C < O, ID1.SG1 > 0)
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing