Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 14:20:24 +0000



Post From: How is ZigZag2 drawing it's lines?

[2025-03-05 19:35:06]
User431178 - Posts: 651
The second blue line does not skip bars, simply connecting the high of the first to low of the second bar

Check the tool values window, no bars are being skipped, the zig-zag line subgraph is populated at each bar.

If you are setting the subgraphs in your study to zero, you could use the Line Skip Zeros subgraph as the drawstyle I think.
or
You could fill the bar values in between with interpolated values, using the function sc.FillSubgraphElementsWithLinearValuesBetweenBeginEndValues.
ACSIL Interface Members - Functions: sc.FillSubgraphElementsWithLinearValuesBetweenBeginEndValues