Skip to content

Init

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.

Return Value

true - successful completion, otherwise - false.

Last updated on