Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 14:54:49 +0000



[Programming Help] - Audible/visible alert in Sierrachart on well defined times

View Count: 627

[2021-11-03 15:09:28]
User58776 - Posts: 18
Dear,

I'm trading the ES futures on the 1 min and 5 min chart. I only trade on 1 screen. The 1 min chart is my main chart I'm looking at. I'm entering orders on the close of the bar.
Is it possible in sierrachart to give an audible or visible alert when there is e.g. 1 minute remaining for the bar close on the 5 minute chart, so I know that I need to switch to the 5 min chart. So, I would need alerts on 9:34h, 9:39h, 9:44h and so on.

thanks in advance
best regards
Jeroen
[2021-11-03 22:22:38]
Sawtooth - Posts: 4173
Is it possible in sierrachart to give an audible or visible alert when there is e.g. 1 minute remaining for the bar close on the 5 minute chart
Try this on the 1 min chart:
Add the Bar Numbering study
- Hide the study
- Set the 'Number Every N Bars' to 5.
- Set the 'Do Not Reset At Start Of New Day' to No.
- Use a formula like this on its Alerts tab:
=ID1.SG1>0
where the Bar Numbering study is ID1.

This will alert at the open of the bar prior to the 5 min multiple bar, e.g. 9:34, 9:39, 9:44.

This assumes the chart's Session Start Time is a 5 minute multiple.

If you also want to color the bar, add the Color Bar Based On Alert Condition study, and use the same formula on its Alerts tab.
[2021-11-04 14:16:10]
Mauro - Posts: 45
Yes I use something similar myself:
I have the countdown study on the 5 min with the display value only on yes.
I then have an alert: SG1 <= 10 to alert me 10 sec before bar closes.
You can add as many countdown studies as you want to have different alerts at different intervals and just hide them.

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

Login

Login Page - Create Account