Download MetaTrader 5

How obtain current price of the market ?

To add comments, please log in or register
Zek Cek
83
Zek Cek  

I want obtain current price of the market...

It's just tick.

And how know if the Japanese candlestick is end.

All this with mql5, Thanks a lot. 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Chart Representation
Documentation on MQL5: Standard Constants, Enumerations and Structures / Chart Constants / Chart Representation
  • www.mql5.com
Standard Constants, Enumerations and Structures / Chart Constants / Chart Representation - Documentation on MQL5
Tonny Obare
40883
Tonny Obare  
Zek:

I want obtain current price of the market...

It's just tick.

And how know if the Japanese candlestick is end.

All this with mql5, Thanks a lot. 

https://www.mql5.com/en/docs/standardlibrary/tradeclasses/csymbolinfo Its usually quicker to search simple stuff in the search box at the top right of your pc.
Documentation on MQL5: Standard Library / Trade Classes / CSymbolInfo
Documentation on MQL5: Standard Library / Trade Classes / CSymbolInfo
  • www.mql5.com
Standard Library / Trade Classes / CSymbolInfo - Documentation on MQL5
Zek Cek
83
Zek Cek  
i want use classic method...
Zek Cek
83
Zek Cek  

ok so !

 

How to use this !??

 

How to take Bid ?? => double  Bid() const 

Zek Cek
83
Zek Cek  

i added  #include <Trade\SymbolInfo.mqh>

and 

Comment(Bid());

 

But don't work

Zek Cek
83
Zek Cek  
double Ask = SymbolInfoDouble(_Symbol,SYMBOL_ASK); 
Comment(Ask);
     
Ok it's work
To add comments, please log in or register