Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 23:18:24 +0000



[Programming Help] - Color Background based on Alert Condition Range and Signal Trigger.

View Count: 182

[2024-04-29 00:25:18]
Chunkistator - Posts: 2
Hello,


I've been trying to make the background of my chart change to a specific color if a trigger signal appears specifically in a range. Signal comes from one study, range comes from another.

I've tried a couple of combinations to now avail here they are below:

=CROSSFROMABOVE(ID7.SG13,ID7.SG10),IF(ID30.SG4)



=AND(CROSSFROMBELOW(ID7:SG15,ID7:SG18),(ID30.SG3),0)

=IF(CROSSFROMABOVE(ID7:SG13,ID7:SG10)=TRUE,(ID30.SG2),0)


=OR(AND(L<=ID7.SG18[0],H>ID7.SG15[0],O>ID7.SG15[0]),AND(L>=ID7.SG18[0],L<ID30.SG18[0],O<ID7.SG15[0]))



I have attached a picture of when I want the background to change colors and when not.

Any help would be appreciated.
imageBar Help .png / V - Attached On 2024-04-29 00:24:21 UTC - Size: 18.93 KB - 54 views
Attachment Deleted.

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

Login

Login Page - Create Account