Login Page - Create Account

Support Board


Date/Time: Fri, 14 Mar 2025 15:18:24 +0000



Color bar based on alert question

View Count: 115

[2025-01-14 10:33:16]
User993440 - Posts: 19
Hi,

Based on the position of the bar POC (using the Volume Point of Control for Bars study) in a range bar, I'd like to color the bar.

Please see the attached image to see exactly what I mean.
Private File
Attachment Deleted.
[2025-01-14 12:46:52]
cmet - Posts: 677
Can't see your image, no idea what the rules are.

Basic example assuming VPOC for Bars is ID:1 SG1 and you're coloring the bar green if it's above the midpoint and red if it's below.

Green: ID1.SG1 > (H + L) / 2

Red: ID1.SG1 < (H + L) / 2

For draw style, choose color candlestick body and choose your color.
[2025-01-14 13:01:29]
User993440 - Posts: 19
Thanks for the reply, see the attached image for what I'm looking for.
Date Time Of Last Edit: 2025-01-14 13:01:55
imageSierra bar POC.png / V - Attached On 2025-01-14 13:01:49 UTC - Size: 107.47 KB - 27 views
[2025-01-14 13:08:57]
cmet - Posts: 677
ID1.SG1 >= H - (2 * TICKSIZE)
ID1.SG1 <= L + (2 * TICKSIZE)

Definitely worth learning the alert syntax: Study/Chart Alerts And Scanning: Alert Formula Examples
[2025-01-14 13:38:56]
User993440 - Posts: 19
Perfect, thanks

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

Login

Login Page - Create Account