MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Automated Trading Language Documentation

Creating and Publishing of Trade Reports and SMS Notification Creating and Publishing of Trade Reports and SMS... IlanIlan Try product
Ilan
Author: komposter
Screenshot
AUDUSD, D1
Real
Subscribe to signal
Conson
10.53%, 199.20 AUD
i-ParamonWorkTime Indicator
i-ParamonWorkTime
Author: GODZILLA

SymbolInfoTick

The function returns current prices of a specified symbol in a variable of the MqlTick type.

bool  SymbolInfoTick(
   string    symbol,     // symbol name
   MqlTick&  tick        // reference to a structure
   );

Parameters

symbol

[in]  Symbol name.

tick

[out]  Link to the structure of the MqlTick type, to which the current prices and time of the last price update will be placed.

Return Value

The function returns true if successful, otherwise returns false.


Updated: 2012.07.04