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

Automated Trading Language Documentation

Momentum Color Fill Indicator
Momentum Color Fill
Author: FinGeR
Subscribe to signal
A111
91.55%, 22 312.57 USC
Screenshot
GBPUSD, H4
Real
MetaTrader 5 on Linux MetaTrader 5 on Linux YEXSYEXS Try product
YEXS
Author: xhxiang

Init

Initializes the object.

bool  Init(
   CSymbolInfo      symbol,   // symbol
   ENUM_TIMEFRAMES  period,   // timeframe
   double           point     // point
   )

Parameters

symbol

[in]  Pointer to the object of CSymbolInfo type for access to symbol information.

period

[in]  Timeframe (ENUM_TIMEFRAMES enumeration).

point

[in]  The "weight" of 2/4-digit point.

Returned value

true if successful, otherwise false.


Updated: 2011.07.26