Login Page - Create Account

Support Board


Date/Time: Fri, 26 Apr 2024 10:49:31 +0000



Is It Possible To Use Alert From Study To Color Bar?

View Count: 862

[2014-11-13 01:26:37]
cmet - Posts: 535
Trying to find out if there's a way to use the alert formula from a Study to color a bar on the chart.

I have the alert formulas set up correctly and they work with an audio alert. The studies are located in Chart Region 2 and they do not use the high/low/last from the actual bars (in Chart Region 1).

For example: There's an alert that is true when stochastic momentum crosses above a moving average. These studies are in Chart Region 2. When the condition is true, I would like it to color the price bar a different color.

I can't figure out from the instructions for Color Bar Using Alert Condition how to do this.

Is this even possible?


Date Time Of Last Edit: 2014-11-13 01:31:22
[2014-11-13 02:56:29]
Sawtooth - Posts: 3976
Yes, it's possible. Move the formula to the Alerts tab of the Color Bar study, then modify the formula to include the ID# of the all studies it references, like this:

=CROSSOVER(ID1.SG1,ID2.SG1)
[2014-11-13 03:00:50]
cmet - Posts: 535
Ah man...thank you.

Big "duh" moment on that one.

Thanks again.

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

Login

Login Page - Create Account