GetIndicatorCount
Description
Syntax
public GetIndicatorCount(chartId: number, subWindow: number): numberParameters
Return Value
Example
const chartId = this.api.GetCurrentChartId()
try {
const count = this.api.GetIndicatorCount(chartId, 0)
console.log(`Number of indicators in main window: ${count}`)
} catch (error) {
console.error('Failed to get indicator count:', error.message)
}Last updated