Documentation
MQL5 ReferenceCustom IndicatorsIndicatorSetDouble 

IndicatorSetDouble

The function sets the value of the corresponding indicator property. Property of the indicator should be of the double type. There are 2 variants of the function.

Call indicating identifier of the property.

bool  IndicatorSetDouble(
   int     prop_id,           // identifier
   double  prop_value         // value to be set
   );

Call indicating the identifier and modifier of the property.

bool  IndicatorSetDouble(
   int     prop_id,           // identifier
   int     prop_modifier,     // modifier 
   double  prop_value         // value to be set
   )

Parameters

prop_id

[in] The value can be one of the values of the ENUM_CUSTOMIND_PROPERTY_DOUBLE enumeration.

prop_modifier

[in]  Modifier of the specified property. Only level properties require a modifier.

prop_value

[in]  The value of the property.

Return Value

If successful, returns true, otherwise - false.