Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 05:58:12 +0000



Post From: Zigzag not displaying Length accurately

[2013-08-29 14:54:58]
George - Posts: 60
The new Zigzag study is not displaying the Length of the of each wave accurately.

It is rounding off each Length to the whole number and not including anything to the right of the decimal point, except zeros.

The attached image showing just the Reversal Price and Length shows the problem.

Thanks in advance.

http://www.sierrachart.com/image.php?l=1377788245636.png

Edit: The new ZZ code states: ZigzagLineLength = abs(ZigZagLine[Index] - ZigZagLine[BackRefIndex]);

The old ZZ code states: ZigzagLineLength = ZigZagLine[Index] - ZigZagLine[BackRefIndex];

I changed the new ZZ study ZigzagLineLength, to the old and everything works right now.

Date Time Of Last Edit: 2013-08-29 16:24:47