Support Board
Date/Time: Fri, 30 Jan 2026 05:04:06 +0000
Post From: color bar based on alert condition - once per day
| [2025-12-11 14:25:55] |
| Sawtooth - Posts: 4311 |
|
Is it possible to set the 'color bar based on alert condition' study to trigger only once per day/session?
Here's another way:Add the Spreadsheet Formula study, with a formula like this in its Formula field: =IF(YourAlertCondition,1,IF(BARTIME=0,0,ID1.SG1[-1])) where this Spreadsheet Formula study is ID1. This will create a persistent TRUE at the first alert occurrence after midnight, and release it at the next midnight. Add the Color Bar Based On Alert Condition study, with a formula like this on the Alerts tab: =AND(ID1.SG1[-1]=0,ID1.SG1=1) This will find the first and only occurrence of the alert of the day. |
