Support Board
Date/Time: Tue, 11 Feb 2025 01:46:26 +0000
Post From: Possible loss of significance bug in ZigZag study
[2020-08-22 16:46:12] |
maxima120 - Posts: 144 |
I am not C++ guru, but I think it is safer to cast to double before subtracting in CreateZigZagLineLabel function: ZigzagLineLength = (double)ZigZagLine[ZigZagIndex] - ZigZagLine[BackRefIndex];
|