- CustomSymbolCreate
- CustomSymbolDelete
- CustomSymbolSetInteger
- CustomSymbolSetDouble
- CustomSymbolSetString
- CustomSymbolSetMarginRate
- CustomSymbolSetSessionQuote
- CustomSymbolSetSessionTrade
- CustomRatesDelete
- CustomRatesReplace
- CustomRatesUpdate
- CustomTicksAdd
- CustomTicksDelete
- CustomTicksReplace
- CustomBookAdd
CustomSymbolSetString
Assigne une valeur de type string à la propriété d'un symbole personnalisé.
bool CustomSymbolSetString(
|
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_STRING.
property_value
[in] Une variable de type string 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 the SYMBOL_FORMULA property (setting the equation for the custom symbol price construction) is changed in the symbol specification. After deleting the custom symbol history, the terminal attempts to create a new history using the new equation. The same happens when the custom symbol equation is changed manually.
Voir aussi