SetIndicatorIdKey
Syntax
SetIndicatorIdKey(key: string): voidParameters
Return Value
Description
Example
// Set a simple key
this.api.SetIndicatorIdKey('RSI_14')
// Use a more complex key with parameters
this.api.SetIndicatorIdKey(`MA_${period}_${method}_${price}`)
// Generate a unique key
this.api.SetIndicatorIdKey(`CustomIndicator_${Date.now()}`)Last updated