Login Page - Create Account

Support Board


Date/Time: Thu, 18 Apr 2024 01:12:10 +0000



[Programming Help] - PRE-rth

View Count: 535

[2019-06-26 19:57:10]
Crtfyd - Posts: 277
I cant get my "Color bar based on Alert Condition" to work with the time alert I'm using.
My Session time for the chart is 9:30:00- 16:14:59, and Evening Session is 18:00:00-9:29:59

I want my alerts for the full Evening Sesion, but when I use: BARTIME >=((18*60+00.00)/(24*60)), BARTIME < ((9*60+30)/(24*60)) ) I get nothing. So I have resorted to putting: BARTIME >=((00*60+00.00)/(24*60)), BARTIME < ((9*60+30)/(24*60)) ) which gives me alerts, but obviously only from 00:00:00.

How can I get it from 18:00:00?

Thx

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

Login

Login Page - Create Account