Trying to use iCustom with this indicator & need help
Posted: Tue Feb 28, 2017 6:13 pm
im trying to use iCustom with this indicator and dont work, can someone help me please?, thanks in advance.
Code: Select all
double Arrow(int i)
{
double up = iCustom(Symbol(),0,"1 arrows & curves",0,i+1)!=EMPTY_VALUE;
double dn = iCustom(Symbol(),0,"1 arrows & curves",1,i+1)!=EMPTY_VALUE;
if(up)
{
return(1);
}
if(dn)
{
return(-1);
}
return(0);
}