IndicatorShortName
Syntax
IndicatorShortName(shortName: string): voidParameters
Return Value
Description
Example
// Set a simple name
this.api.IndicatorShortName('RSI(14)')
// Include parameter values in the name
const period = 14
const price = 'Close'
this.api.IndicatorShortName(`MA(${period}, ${price})`)
// For a custom indicator with multiple parameters
this.api.IndicatorShortName(`Custom Oscillator(${fast}, ${slow}, ${signal})`)Last updated