Page 1 of 1

iCustom

Posted: Sun Jun 11, 2017 4:29 pm
by Cladi39
dear mladen, i have always the same problem with EMPTY_VALUE, Im trying to call the buffers of this indicators but dont work, whats wrong?

Thanks soo much,

double Coral(int i)
{
double up = iCustom(NULL,0,"Coral",1,i)!=EMPTY_VALUE;
double dn = iCustom(NULL,0,"Coral",2,i)!=EMPTY_VALUE;

if(up)
{
return(1);
}
if(dn)
{
return(-1);
}

return(0);
}

Re: iCustom

Posted: Sun Jun 11, 2017 6:53 pm
by mladen
Cladi39 wrote: Sun Jun 11, 2017 4:29 pm dear mladen, i have always the same problem with EMPTY_VALUE, Im trying to call the buffers of this indicators but dont work, whats wrong?

Thanks soo much,

double Coral(int i)
{
double up = iCustom(NULL,0,"Coral",1,i)!=EMPTY_VALUE;
double dn = iCustom(NULL,0,"Coral",2,i)!=EMPTY_VALUE;

if(up)
{
return(1);
}
if(dn)
{
return(-1);
}

return(0);
}
Cladi39

Apart from being decompiled code, coral can repaint

Re: iCustom

Posted: Mon Jun 12, 2017 8:08 am
by Cladi39
mladen wrote: Sun Jun 11, 2017 6:53 pm Cladi39

Apart from being decompiled code, coral can repaint
Can you recomend me something simila maybe a Hull ma? Thanks for your help

Re: iCustom

Posted: Mon Jun 12, 2017 4:41 pm
by mladen
Cladi39 wrote: Mon Jun 12, 2017 8:08 am Can you recomend me something simila maybe a Hull ma? Thanks for your help
You can use a non repainting nonlag ma - you shall be surprised :)

Re: iCustom

Posted: Sat Jun 17, 2017 1:05 am
by TEAMTRADER
Try this - it is an HMA and is very similar. Useful tool.
Blue/Violet ma is the Coral and Lime/Red is HMA master.
TEAMTRADER