Decimal to full scale

 
Guys, I have this problem I did this function to determine the size of a candle The problem is that rightly returns me a Double value to me I would need entire ie the width of the candle, do you have ideas on how to solve?
Thank you in advance 
//  Candela Verde   
   if(Open[1]<Close[1])
   {
      //AllertoPerIlRibasso();
      range = ((Close[1] - Open[1]));
      Trand = 1;  
   } 
    //Cand Rossa
   if (Open[1]>Close[1])
   {
      //AllertoPerIlRibasso();
      range = ((Open[1] - Close[1]));
      Trand = - 1;
   } 
   
 
texoro: determine the size of a candle The problem is that rightly returns me a Double value to me I would need entire ie the width of the candle, do you have ideas on how to

There is no width, there is only the height or range. That is the high minus the low.

Reason: