GetChartTimeframe
Description
Syntax
public GetChartTimeframe(chartId: number): numberParameters
Return Value
Example
const chartId = this.api.GetCurrentChartId()
const timeframe = this.api.GetChartTimeframe(chartId)
console.log(`Chart ${chartId} timeframe: ${timeframe}`)Last updated