Support Board
Date/Time: Fri, 04 Jul 2025 05:19:33 +0000
Post From: Possible loss of significance bug in ZigZag study
[2020-08-22 16:46:12] |
maxima120 - Posts: 151 |
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];
|