How to position multiple arrows properly on a single date in multiple timeframe and window size

 
I need to draw multiple arrows on a single date.  It works for one time frame but when I resize the window or change to another time frame, the arrows overlapped.  Here is the sample code:
// h is the high of the bar at object_date

// first arrow
ObjectCreate(0,object_name1,OBJ_ARROW,0,object_date,h+.005);
ObjectSetInteger(0,name,OBJPROP_ARROWCODE,arrow_code);
ObjectSetInteger(0,name,OBJPROP_ANCHOR,ANCHOR_TOP);
ObjectSetInteger(0,name,OBJPROP_WIDTH,1);

// second arrow, bigger arrow above first arrow
ObjectCreate(0,object_name2,OBJ_ARROW,0,object_date,h+.010);
ObjectSetInteger(0,name,OBJPROP_ARROWCODE,arrow_code);
ObjectSetInteger(0,name,OBJPROP_ANCHOR,ANCHOR_TOP);
ObjectSetInteger(0,name,OBJPROP_WIDTH,2);
It seems the way to solve this is to get the the pixel per point in different window size or timeframe and the size of the wingding arrow and calculate the offset based on these parameters.  Does anyone know how to fix it?