Download MetaTrader 5

Period

Sets the object timeframe.

bool  Period(
   ENUM_TIMEFRAMES  value     // timeframe
   )

Parameters

value

[in]  Timeframe.

Return Value

true - successful, otherwise - false.

Note

The setting of working timeframe is necessary if the object uses the timeframe different from timeframe defined at the initialization.


Updated: 2016.05.31