what's meam of DOUBLE_VALUE?

 
<CODE REMOVED>
 handle = FileOpenHistory(Symbol() + Period() + ".hst", FILE_BIN|FILE_READ);
bool GetPrices( int& PriceTime, int& PriceLow, int& PriceHigh)
{
  PriceTime = FileReadInteger(handle);
  FileSeek(handle, DOUBLE_VALUE, SEEK_CUR);
  PriceLow = FileReadDouble(handle) / Point + 0.1;
 // Alert(PriceLow);
  PriceHigh = FileReadDouble(handle) / Point + 0.1;      //here PriceLow =PriceHigh ? what's the fuction's mean,
   // Alert(PriceHigh);
  FileSeek(handle, 2 * DOUBLE_VALUE, SEEK_CUR);               // wha's DOUBLE_VALUE
 
  if (FileTell(handle) + BARSIZE <= FileSize(handle))    //the point position and  filesize's relation
    return(TRUE);
  else
    return(FALSE);
}
 
zdj231:
<CODE REMOVED>


Please edit your post . . . please use the SRC button to post code: How to use the SRC button.

 
Based upon the all caps, DOUBLE_VALUE is a #define likely set to the size of a double (8)
 
WHRoeder:
Based upon the all caps, DOUBLE_VALUE is a #define likely set to the size of a double (8)

what's your meam
 
zdj231:

what's your meam

#define DOUBLE_VALUE 1
 
RaptorUK:


what's diffent of
PriceHigh  and 
PriceLow
 
zdj231:

what's diffent of
They are read from a file . . . look in the file and you will see what the values are.

Maybe you should read the Book
Reason: