- CustomSymbolCreate
- CustomSymbolDelete
- CustomSymbolSetInteger
- CustomSymbolSetDouble
- CustomSymbolSetString
- CustomSymbolSetMarginRate
- CustomSymbolSetSessionQuote
- CustomSymbolSetSessionTrade
- CustomRatesDelete
- CustomRatesReplace
- CustomRatesUpdate
- CustomTicksAdd
- CustomTicksDelete
- CustomTicksReplace
- CustomBookAdd
CustomSymbolSetDouble
Assigne une valeur de type réel à la propriété d'un symbole personnalisé.
bool CustomSymbolSetDouble(
|
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_DOUBLE.
property_value
[in] Une variable de type double 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_POINT one point value
- SYMBOL_TRADE_TICK_SIZE value of a tick that specifies the minimum allowable price change
- SYMBOL_TRADE_TICK_VALUE one-tick price change value for a profitable position
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