Download MetaTrader 5

Prices in MqlRates - bid or ask price?

To add comments, please log in or register
Did you like the article? Share it with your friends!
jaycode
18
jaycode 2014.09.14 18:03 
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
30727
Alain Verleyen 2014.09.14 18:25  
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 2014.09.17 23:30  
angevoyageur:
Bid price. All charts in historical data are based on bid price.
Thank you for answering, I really appreciate that!
onapthanh
21
onapthanh 2014.09.18 13:01  
I also think that All charts in historical data are based on bid price
Dua Yong Rew
5423
Dua Yong Rew 2014.09.18 15:31  
therefore should you use bid price to do your analysis?
To add comments, please log in or register