problem with not accurate values returend from iADX

 
hi
the values that retuend from the functiom iADX are not equals to the values that diplayes in the graph window,
im using
double adx;
adx=iADX(NULL,PERIOD_H1,14,PRICE_HIGH,0 or 1 or 2,0); // 0 ot 1 or 2 to get the value of the 3 graphs


what's wrong with that??
 
any one can help

how do u use this function?
 
it should be no problem. you tell no details for thinking and answering
 
i