Page 1 of 1

iCustom

Posted: Thu Jun 08, 2017 12:29 pm
by Cladi39
Dear mladen i wnat to use your indicator Trend Direction & Force by iCustom function in period 7. Is this the correct way?

double TD = iCustom(NULL,0,"Trend direction & force index~",7,"Current time frame",2,i);

if(TD<-0.9999)
{
return(1);
}
if(TD>0.9999)
{
return(-1);
}

return(0);
}