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);
}