Login Page - Create Account

Support Board


Date/Time: Sun, 15 Jun 2025 06:51:58 +0000



How is possible to create a study that trigger an alert

View Count: 213

[2025-06-06 16:26:56]
rebeccaemme - Posts: 19
How is possible to create a custom study that triggers an alert at the close of the third candle when the following is true:
1. The last 3 candles are all bullish or all bearish.
2. The volume increases progressively:
• volume of the second candle must be bigger then the first, the volume of the third candle must be bigger then the second
3. The alert should be sent only when the third candle closes.

Thank you in advance
[2025-06-06 16:38:18]
John - SC Support - Posts: 40422
Are you certain you are asking how to do this in a Custom Study? Or do you want to know how to do this using the built-in Alerts?

For a custom study, you need to program this yourself. Refer to the following:
How to Build an Advanced Custom Study from Source Code

For the built-in alerts (which can do what you are wanting), refer to the following:
Study/Chart Alerts And Scanning
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-06-06 21:33:19]
rebeccaemme - Posts: 19
In which way built in alerts can do that?

If I put this script is not right and not working.

OR(
AND(
C[-2] > O[-2],
C[-1] > O[-1],
C > O,
V[-2] < V[-1],
V[-1] < V
),
AND(
C[-2] < O[-2],
C[-1] < O[-1],
C < O,
V[-2] < V[-1],
V[-1] < V
)
)
[2025-06-09 15:12:40]
John - SC Support - Posts: 40422
That Alert Condition works fine for us and we are getting proper signals from it.

Attached is an image of what we get with it when we use both the "Spreadsheet Formula" and the "Color Bar Based on Alert Condition". The Color Bar Based on Alert Condition, in particular, was a copy/paste of exactly what you put in your posting.
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
imageESM25[M] 1 Min #1 2025-06-09 10_11_19.116.png / V - Attached On 2025-06-09 15:12:37 UTC - Size: 44.57 KB - 43 views
[2025-06-10 17:10:59]
John - SC Support - Posts: 40422
The top, where the bars are colored is from the "Color Bar Based on Alert Condition". Where you enter the condition on the "Alert" tab. Refer to the following:
Color Bar Based on Alert Condition

The bottom is from the "Spreadsheet Formula" study. In this case, you need to reformat your condition to be on a single line. Refer to the following:
Spreadsheet Formula
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2025-06-10 17:11:25]
rebeccaemme - Posts: 19
Where did you past that formula to get the spreadsheet below (the pick) as the screenshot?
Thank you

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

Login

Login Page - Create Account