Download MetaTrader 5

Prices in MqlRates - bid or ask price?

To add comments, please log in or register
jaycode
18
jaycode  
struct MqlRates
  {
   datetime time;         // opening bar time
   double   open;         // opening price Open
   double   high;         // the highest price High
   double   low;          // the lowest price Low
   double   close;        // the closing price Close
   long     tick_volume;  // the tick volume
   int      spread;       // spread
   long     real_volume;  // market volume
  };  

 Are high and low in MqlRates function Ask price or Bid price? 

Alain Verleyen
Moderator
33629
Alain Verleyen  
jaycode:

 Are high and low in MqlRates function Ask price or Bid price? 

Bid price. All charts in historical data are based on bid price.
jaycode
18
jaycode  
angevoyageur:
Bid price. All charts in historical data are based on bid price.
Thank you for answering, I really appreciate that!
onapthanh
21
onapthanh  
I also think that All charts in historical data are based on bid price
Dua Yong Rew
5537
Dua Yong Rew  
therefore should you use bid price to do your analysis?
To add comments, please log in or register