Skip to content

Create

Create

Creates the indicator with specified parameters. Use Refresh() and GetData() to update and get the indicator values.

bool  Create(
   string               symbol,      // symbol
   ENUM_TIMEFRAMES      period,      // period
   ENUM_APPLIED_VOLUME  applied      // volume type
   )

Parameters

symbol

[in] Symbol.

period

[in] Timeframe (ENUM_TIMEFRAMES enumeration value).

applied

[in] Volume type to apply (ENUM_APPLIED_VOLUME enumeration value).

Return Value

true - successful, false - cannot create the indicator.

Last updated on