Support Board
Date/Time: Tue, 15 Apr 2025 13:47:43 +0000
Background Coloring Dilemma
View Count: 103
[2025-03-31 23:23:33] |
User619465 - Posts: 8 |
Asking for some help Please Have Bar Numbering set up (id8:sg1) - (numbers every 15 bars - It is working) Have 2 Color Background Based On Alert Condition set up 1st Color Background Alert..., the alert is set up - =isodd(id8:sg1) - this one works perfect 2nd Color Background Alert..., the alert is set up - =iseven(id8:sg1) - this one background colors the entire chart I'm thinking the 2nd Color Background Alert is interpreting the bars not numbered... as even integers Any suggestions / insight would be much appreciated Thank You |
[2025-04-01 07:31:19] |
Sierra_Chart Engineering - Posts: 19226 |
Are the bar numbers all even values?
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, use the Teton service: Sierra Chart Teton Futures Order Routing Date Time Of Last Edit: 2025-04-01 07:31:29
|
[2025-04-01 12:01:06] |
User619465 - Posts: 8 |
No Sir 15..., 30..., 45..., 60 - and so on Thanks |
[2025-04-01 12:40:56] |
User431178 - Posts: 646 |
2nd Color Background Alert..., the alert is set up - =iseven(id8:sg1) - this one background colors the entire chart I'm thinking the 2nd Color Background Alert is interpreting the bars not numbered... as even integers 0 is an even number, all bars that are not numbered are 0, therefore all non-numbered bars are colored. Change alert condition to =AND(ISEVEN(ID8.SG1),ID8.SG1<>0)
|
[2025-04-01 16:00:31] |
User619465 - Posts: 8 |
That worked outstandingly well!!! Thank You |
To post a message in this thread, you need to log in with your Sierra Chart account: