Download MetaTrader 5

Create

Creates a timeseries with the specified parameters for access to the closing prices of the bars in the history.

bool  Create(
   string           symbol,     // symbol
   ENUM_TIMEFRAMES  period      // period
   )

Parameters

symbol

[in]  Timeseries symbol.

period

[in]  Timeseries timeframe (ENUM_TIMEFRAMES enumeration value).

Return Value

true - successful, false - cannot create the timeseries.


Updated: 2016.05.17