Login Page - Create Account

Support Board


Date/Time: Fri, 27 Feb 2026 19:24:56 +0000



[Programming Help] - how to skipping 0 drawings?

View Count: 33

[2026-02-27 12:00:45]
User358514 - Posts: 16
Hey!

I have read the doc about DRAWSTYLE_LINE_SKIP_ZEROS and intend to use it to skip the zero values from drawing to see only non-zero values.
In the attached picture can be seen, the non-zero values being connected, but that is what I wanted to avoid, and the documentation says it should have been skip those points.
So what did I misunderstand?


HighVWMA.Name = "High SP VWMA";
HighVWMA.DrawStyle = DRAWSTYLE_LINE_SKIP_ZEROS;
HighVWMA.PrimaryColor = RGB(0, 210, 100);
HighVWMA.LineWidth = 2;

LowVWMA.Name = "Low SP VWMA";
LowVWMA.DrawStyle = DRAWSTYLE_LINE_SKIP_ZEROS;
LowVWMA.PrimaryColor = RGB(220, 60, 60);
LowVWMA.LineWidth = 2;

Thanks.
imagesc_drawsytle.png / V - Attached On 2026-02-27 11:58:21 UTC - Size: 14.51 KB - 11 views
Attachment Deleted.
[2026-02-27 12:01:45]
User358514 - Posts: 16
the particular lines the green and red on the picture
[2026-02-27 19:20:57]
ForgivingComputers.com - Posts: 1198
Have you tried this:

HighVWMA.DrawZeros = false;
LowVWMA.DrawZeros = false;

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

Login

Login Page - Create Account