Download MetaTrader 5

InfoDouble

Gets the value of specified double type property.

bool  InfoDouble(
   ENUM_SYMBOL_INFO_DOUBLE  prop_id,     // property ID
   double&                  var          // reference to variable
   ) const

Parameters

prop_id

[in]  ID of double type property from ENUM_SYMBOL_INFO_DOUBLE enumeration.

var

[out]  Reference to double type variable to place result.

Return Value

true — success, false — unable to get property value.

Note

The symbol should be selected by Name method.


Updated: 2016.05.26