Download MetaTrader 5
MQL5 ReferenceCustom SymbolsCustomSymbolSetDouble 

CustomSymbolSetDouble

Sets the real type property value for a custom symbol.

bool  CustomSymbolSetDouble(
   const string              symbol_name,      // symbol name
   ENUM_SYMBOL_INFO_DOUBLE   property_id,      // property ID
   double                    property_value    // property value
   );

Parameters

symbol_name

[in]  Custom symbol name.

property_id

[in]  Symbol property ID. The value can be one of the values of the ENUM_SYMBOL_INFO_DOUBLE enumeration.

property_value

[in]  A double type variable containing the property value.

Return Value

true — success, otherwise — false. To get information about the error, call the GetLastError() function.

 

See also

SymbolInfoDouble