Cladi39 wrote:thanks soo much for your reply mladen is like this?
double Arrow(int i)
{
double up = iCustom(Symbol(),0,"1 arrows & curves",0,i+1);
double dn = iCustom(Symbol(),0,"1 arrows & curves",1,i+1);
if(up>0.0000001&&up<9999999)
{
return(1);
}
if(dn>0.0000001&&dn<9999999)
{
return(-1);
}
return(0);
}
No. Like this :
Code: Select all
double Arrow(int i)
{
double up = iCustom(Symbol(),0,"1 arrows & curves",0,i+1);
double dn = iCustom(Symbol(),0,"1 arrows & curves",1,i+1);
if(up!=0)
{
return(1);
}
if(dn!=0)
{
return(-1);
}
return(0);
}