Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 14:11:29 +0000



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

[2025-03-05 16:46:37]
User431178 - Posts: 651

sc.ZigZag2(
sc.BaseData[Input_DataHigh.GetInputDataIndex()],
sc.BaseData[Input_DataLow.GetInputDataIndex()],
Subgraph_ZigZagLine,
CalcIndex,
Input_NumberBarsForReversal.GetInt(),
Input_ReversalAmount.GetFloat(),
ZigZagStartIndex);

What is the third argument passed to the function?
It is the subgraph for zig zag line.
Subgraph draws the line, sc.ZigZag2 populates the subgraph with values.