- CustomSymbolCreate
- CustomSymbolDelete
- CustomSymbolSetInteger
- CustomSymbolSetDouble
- CustomSymbolSetString
- CustomSymbolSetMarginRate
- CustomSymbolSetSessionQuote
- CustomSymbolSetSessionTrade
- CustomRatesDelete
- CustomRatesReplace
- CustomRatesUpdate
- CustomTicksAdd
- CustomTicksDelete
- CustomTicksReplace
- CustomBookAdd
CustomSymbolSetInteger
Assigne une valeur de type integer à la propriété d'un symbole personnalisé.
bool CustomSymbolSetInteger(
|
Paramètres
symbol_name
[in] Nom du symbole personnalisé.
property_id
[in] Identifiant de la propriété du symbole. La valeur peut être l'une des valeurs de l'énumération ENUM_SYMBOL_INFO_INTEGER.
property_value
[in] Une variable de type long contenant la valeur de la propriété.
Valeur de Retour
true en cas de succès false sinon. Pour obtenir des informations sur l'erreur, il faut appeler la fonction GetLastError().
Note
The minute and tick history of the custom symbol is completely removed if any of these properties is changed in the symbol specification:
- SYMBOL_CHART_MODE price type for constructing bars (Bid or Last)
- SYMBOL_DIGITS number of digits after the decimal point to display the price
After deleting the custom symbol history, the terminal attempts to create a new history using the updated properties. The same happens when the custom symbol properties are changed manually.
Voir aussi