Close price & Bid Price

 

Hi,

What is the different between  Close  price and  Bid  Price?

Thanks

 
hichamej:

Hi,

What is the different between  Close  price and  Bid  Price?

Thanks

https://www.mql5.com/en/docs

  •   Difference 1::

  • Close for indicator
  • Bid for Ea

MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
MQL5 Reference - How to use algorithmic/automated trading language for MetaTrader 5
  • www.mql5.com
MetaQuotes Language 5 (MQL5) is a high-level language designed for developing technical indicators, trading robots and utility applications, which automate financial trading. MQL5 has been developed by MetaQuotes Software Corp. for their trading platform. The language syntax is very close to C++ enabling programmers to develop applications in...
 
hichamej:

Hi,

What is the different between  Close  price and  Bid  Price?

Thanks

If you look at the docs for MqlTick:

   double       bid;           // Current Bid price
   double       ask;           // Current Ask price
   double       last;          // Price of the last deal (Last)

So, my interpretation is that bid and ask are prices that are offered, one for buying and one for selling. An "offered" price has not been taken yet, i.e. no deal has been made yet.

And last price is the price where a deal was made, i.e. an ask or bid was accepted.

And so "close" price would be the last price.

Reason: