Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 14:51:32 +0000



Question about alerts and text display for study

View Count: 120

[2024-12-16 21:39:40]
awakef - Posts: 72
Hi I managed to make a text display alert without any problems.
My question is how can I make the display alert stay for a specific seconds or minutes after it shows?
Since it stays on the full 15mins candle until the next new candle appears.
[2024-12-17 14:55:49]
John - SC Support - Posts: 37808
We need to understand what exactly you are doing. How is this alert setup, what are you doing?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-12-17 15:19:14]
awakef - Posts: 72
I made an alert using text display for study exactly as your instructions with color based on alert condition to show a big text on my screen.
Text Display For Study

The alert with text display works good but after it shows it stays on until the next 15min candle appears.

I want the text display alert to show and disappear at 5min instead the text banner staying on in the screen the full 15mins duration candle.

Thanks John,
[2024-12-17 16:32:48]
John - SC Support - Posts: 37808
If you can, you would need to set the condition in your "Color Bar Based on Alert Condition" to control this. We say "if you can", as it depends a lot on how your current condition is setup and whether you can use the Bar Times to control the time. Right now, your condition must be being reset with a new bar, which is why it is going away when a new bar starts.

Refer to the following:
Study/Chart Alerts And Scanning: Available Main Price Graph Identifiers/Variables
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-12-17 22:00:48]
awakef - Posts: 72
I uploaded the settings enabled for the color bar based on alert.

Here is a example of the code I'm trying using text display alert for swing high and lows:
=OR(SG1 > 0, SG2 > 0, SG1[-1] > 0, SG2[-1] > 0, SG1[-2] > 0, SG2[-2] > 0, SG1[-3] > 0, SG2[-3] > 0)

Then I tried to use countdown timer for the text display alert dissapear at 5mins on a 15mins chart and worked good, but on the next candle keeps doing the alert when it haven't made a new swing high, low.

This is the code I made:
=OR(AND(ID41.SG1 > 0, ID41.SG2 > 0, ID41.SG1[-1] > 0, ID41.SG2[-1] > 0, ID41.SG1[-2] > 0, ID41.SG2[-2] > 0, ID41.SG1[-3] > 0, ID41.SG2[-3] > 0), AND(ID30.SG1 > 600))

There's a way that when it made the alert stays off until a real swing high, low have being made instead repeating the alert on each new candle John?
imageScreenshot 2024-12-17 162630.png / V - Attached On 2024-12-17 20:27:31 UTC - Size: 38.53 KB - 24 views
[2024-12-17 23:57:19]
John - SC Support - Posts: 37808
You have too many AND()'s going on. Your condition should be the following:
=AND(OR(SG1 > 0, SG2 > 0, SG1[-1] > 0, SG2[-1] > 0, SG1[-2] > 0, SG2[-2] > 0, SG1[-3] > 0, SG2[-3] > 0), ID30.SG1 > 600)

Although we are not quite sure how you are using the Countdown Timer, so you may need to change the sign to a Less Than (i.e. ID30.SG1 < 600).
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing
[2024-12-18 15:35:41]
awakef - Posts: 72
Thanks John now it worked perfectly!
Merry Christmas for you and your family!!

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

Login

Login Page - Create Account