NavigationUser loginWho's new
Who's onlineThere are currently 0 users and 47 guests online.
|
Predefined variablesHi folks, What are the Predefined variables?The Predefined variables are set of the most important variables which MetaTrader set continuously for every loaded chart. They are price related variables that reflect the current price data the chart had got. These is the list of the predefined variables: Ask, Bid, Bars, Close, Open, High, Low, Time, Digits, Point and Volume I'm calling them functions because:Ask, Bid, Bars, Close, Open, High, Low, Time, Digits, Point and Volume are functions Although MetaQuotes called them predefined variables. Another example will proof for you that they are not variables: If you type and compile this line of code: Anyway, it doesn't matter what should you call them, the really matter is how to use them! Let's study the Predefined variables set: StringConcatenate:Syntax:
Description: The Ask function return the last known Ask price (the sell price) for the current symbol. To be sure it reflects the actual market price you have to use the RefreshRates() function. Note: To get the Ask price for a Parameters: Example:
|