Login Page - Create Account

Support Board


Date/Time: Tue, 04 Nov 2025 21:03:18 +0000



color bar based on alert condition and time filter

View Count: 130

[2025-09-27 16:42:32]
User873130 - Posts: 52
Hi

is this the correct way to filter signals between 10:30 am ET and 17:00 pm ET?

this code is used in color bar based on alert condition study

AND (ID60.SG1 > 900, C<O, ID78.SG1>3000,FRACTIME(A3)>=TIME(10, 29, 59), FRACTIME(A3)<TIME(16, 59, 59, 250))

when I use above code, the signal still shows up before 10:30 am ET, what could I be doing wrong?


any help is appreciated
[2025-09-27 17:31:31]
Sawtooth - Posts: 4285
You are mixing Spreadsheet syntax with Alert syntax.

The Color Bar Based On Alert Condition study uses only Alert syntax.

Try this:
=AND (ID60.SG1 > 900, C<O, ID78.SG1 > 3000, BARTIME >= TIME(10, 29, 59), BARTIME < TIME(16, 59, 59, 250))

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

Login

Login Page - Create Account