Support Board
Date/Time: Mon, 25 Nov 2024 13:31:44 +0000
Post From: ACSIL: compare condition not valid, rounding problem ?
[2014-01-31 10:06:49] |
User40117 - Posts: 56 |
hi, i'm converting code from another language into ACSIL. an indicator draws support and resistance levels. I can achieve this using horizontal rays. However some of them are not drawn allthough conditions are met when examening values. I compare a price value in between several bars, if they are equal (==) the condition is valid. All values are equal fe 9313.5 when examening (they are copied btw when building the array so they should be equal). Most of the rays are drawn however only a few are not but the condition should be valid... Could there be a rounding problem when comparing these float values ? ty |