Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 03:43:10 +0000



[User Discussion] - Color price chart bars the same color as Up/Down Volume Difference Bar color

View Count: 903

[2020-05-29 12:03:56]
User814967 - Posts: 3
Hello,
I've searched trying to find a solution to accomplish this but cannot figure it out. Is there a way to make my chart bars the same color as the colored bars on the Up/Down Volume Difference bar study? For example, each and every green bar in the study will then translate to a green colored bar in my price graph. In the same way, when the study has red bars, my price graph bars will be colored red. I'm not interested in coloring the price bars based on changes in OHLC values, but rather, just copying color from subgraph into my price chart.

Thank you.
[2020-05-29 12:30:28]
Sawtooth - Posts: 3993
Use two instances of the Color Bar Based On Alert Condition study.
Green formula:
=ID1.SG4>0
Red formula:
=ID1.SG4<0
where ID1 is the Up/Down Volume Difference Bars study.
[2020-05-29 12:35:52]
User814967 - Posts: 3
That works perfect. thanks a lot, tomgilb.

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

Login

Login Page - Create Account