Value of iCustom

 

Hi guys,

i tried to get the value of a custom indicator but it failed.

I attached the indicator but sometimes it doesn't deliver any values.

double Value = iCustom(NULL,0,"HMA_v07",Cross_Fast_Period,0,0);
Files:
hma_v07.mq4  3 kb
 
FamWue:

Hi guys,

i tried to get the value of a custom indicator but it failed.

I attached the indicator but sometimes it doesn't deliver any values.

Wrong You only have with your code the value of first buffer

double Value = iCustom(NULL,0,"HMA_v07",Cross_Fast_Period,1,0);

this is giving buffervalue of the other buffer

.

This buffer always deliver a value

Reason: