Login Page - Create Account

Support Board


Date/Time: Fri, 29 Nov 2024 03:58:50 +0000



Post From: Color Bar by Alert Condition - Not Painting Over Bars

[2023-03-10 23:29:55]
stockwet - Posts: 32
My intended goal is to change the bars in the MACD Histogram. So, if the prior MACD Histogram value is higher than the current MACD Histogram value, color current MACD Histogram bar.

I do not want to color the MACD histogram bars based on slope. My use case will be that when the Histogram value is below 0, then there will be two red shades applied. A dark shade for when the current value is lower than the prior value, a lighter shade for when the current value is higher than the prior value, but still below zero. Inverted for the bullish case but with different colors. I know I'll need two Color Bar by Alert studies.

Does that make sense? Here's an example from Trading View.
Date Time Of Last Edit: 2023-03-10 23:34:38
imagetv-example.png / V - Attached On 2023-03-10 23:34:30 UTC - Size: 152.64 KB - 83 views