Download MetaTrader 5

PeriodDescription

Gets the string representation of the specified ENUM_TIMEFRAMES enumeration.

string  PeriodDescription(
   const int  val=0      // value
   )

Parameters

val=0

[in]  Value to convert.

Return Value

The string representation of the specified ENUM_TIMEFRAMES enumeration.

Note

If the value is not specified or equal to zero,the timeframe of timeseries or indicator is transformed into a string.


Updated: 2016.04.26