- Create
- Refresh
Create
It creates the indicator with the specified parameters.
CIndicator* Create(
|
Parameters
symbol
[in] Symbol name.
period
[in] Period (ENUM_TIMEFRAMES enumeration).
type
[in] Indicator's type (ENUM_INDICATOR).
count
[in] Number of parameters for the indicator.
params
[in] Reference to the parameters array for the indicator.
Returned value
If successful, it returns the reference to the created indicator, and NULL if the indicator hasn't been created.