Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 16:53:40 +0000



Alert Condition: Current Day

View Count: 1296

[2018-03-08 14:16:42]
User525997 - Posts: 20
Hello. Is there a way to create an alert condition e.g. for the "color bar based on alert condition" indicator which defines a bar as a bar of the current trading day?

I tested the formular:

=(BARDATE = DATE(Year,Month,Day))

which is working but needs adjustment every day.

Thank You.
[2018-03-08 22:42:50]
Sierra Chart Engineering - Posts: 104368
You could use the NOW function to access the current date:
https://www.sierrachart.com/index.php?page=doc/SpreadsheetFunctions.html#NOW_Function
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
[2022-07-22 16:36:39]
whats1thingnow - Posts: 407
was looking for the same thing and found TODAY()

this did the trick
=BARDATE=TODAY()
Date Time Of Last Edit: 2022-07-22 16:59:53

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

Login

Login Page - Create Account