Ask Custom Indicator Buffer Cant be Read With iCustom Function - page 2

 
Vladislav Boyko #: Why are you comparing with EMPTY_VALUE? The 0.0 value you get where there is no arrow is not EMPTY_VALUE.

Yess i know it EMPTY_VALUE is 2147483647 right?

But when i checked with buffer 0 and 1. When Arrow dont shows up its value just 0.0 not  2147483647

I assume that arrow not using buffer 1 and 0, but when i checked it again im sure it is buffer 0 and 1

im ualso sing buffer reader utilities from mql5.com marketplace : just to make sure i am not wrong to identify the buffer

And the result is buffer 0 and 1

Product reference removed by moderator.

 
Agus Wahyu Pratomo #: But when i checked with buffer 0 and 1. When Arrow dont shows up its value just 0.0 not  2147483647

That means it is using zero for empty instead of EMPTY_VALUE. I already told you that in #3.3. The indicator can use whatever value it wants.

There is nothing wrong with your iCustom call. PICNIC.

 
William Roeder #:

That means it is using zero for empty instead of EMPTY_VALUE. I already told you that in #3.3. The indicator can use whatever value it wants.

There is nothing wrong with your iCustom call. PICNIC.

Okay but why when arrow shows up. The value also 0.0 ?
I am not blaming iCustom function, only blaming myself cannot do what i want with iCustom
Or maybe i got wrong to define the buffer
 
If it ont using Empty_Value then i code with this script and also didnt work
bool cond_buy = buy_Arrow > 0 && buy_Arrow < 99999999;
bool cond_sell = sell_Arrow > 0 && sell_Arrow < 99999999;