Create
It creates the indicator with the specified parameters.
CIndicator* Create(
const string symbol,
const ENUM_TIMEFRAMES period,
const ENUM_INDICATOR type,
const int count,
const MqlParam& params
)
|
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