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

Automated Trading Language Documentation

Screenshot
USDJPY, M1
Real
CCI T3 Tick Indicator
CCI T3 Tick
Author: Alextp
Subscribe to signal
XE Pauk
39.63%, 10 398.28 USD
Create your own Market Watch using the Standard Library Classes Create your own Market Watch using the Standard Library... Strategy MA StandardStrategy MA Standard Try product
Strategy MA Standard
Author: net

Period

Sets the timeframe.

bool  Period(
   ENUM_TIMEFRAMES  value     // timeframe
   )

Parameters

value

[in]  Timeframe.

Returned value

true if 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: 2011.07.26