MQL4 - automated forex trading   /  

Documentation

Login | Register | Language: ru cn en
Buy algorithmic trading applications in MetaTrader Market. Its fast!

MQL4 Reference Market Info

Getting Market Information

These are functions intended for receiving information about the market state.

Function

Action

MarketInfo

Returns various data about securities listed in the "Market Watch" window

SymbolsTotal

Returns the number of available (selected in Market Watch or all) symbols

SymbolName

Returns the name of a specified symbol

SymbolSelect

Selects a symbol in the Market Watch window or removes a symbol from the window

SymbolInfoDouble

Returns the double value of the symbol for the corresponding property

SymbolInfoInteger

Returns a value of an integer type (long, datetime, int or bool) of a specified symbol for the corresponding property

SymbolInfoString

Returns a value of the string type of a specified symbol for the corresponding property

SymbolInfoTick

Returns the current prices for the specified symbol in a variable of the MqlTick type

SymbolInfoSessionQuote

Allows receiving time of beginning and end of the specified quoting sessions for a specified symbol and weekday.

SymbolInfoSessionTrade

Allows receiving time of beginning and end of the specified trading sessions for a specified symbol and weekday.