problem with EMPTY_VALUE
Hello everyone
I'm using iCustom function to give the indicator's buffer, I added the code to prevent invalid data when indicator buffer is empty
but when indicator has value , the toolbox prints the right value but even when the indicator hasn't any value the toolbox prints such this value '1.7976931348623157e+308 ' !!!
Now I want to know if this unknown value has effect on my program or not and how can I eliminate the problem? thanks
that is the empty value, if you want somethng else like 0 then set it explicitly
https://www.mql5.com/en/docs/constants/namedconstants/typeconstants
- www.mql5.com
Hello everyone
I'm using iCustom function to give the indicator's buffer, I added the code to prevent invalid data when indicator buffer is empty
but when indicator has value , the toolbox prints the right value but even when the indicator hasn't any value the toolbox prints such this value '1.7976931348623157e+308 ' !!!
Now I want to know if this unknown value has effect on my program or not and how can I eliminate the problem? thanks