Interface: ISymbolInstrument
Charting Library.ISymbolInstrument
PineJS execution context symbol information.
Properties
close
close: number
Close bar value
currencyCode
Optional
currencyCode: string
Currency Code
high
high: number
High bar value
index
index: number
Index
info
Optional
info: LibrarySymbolInfo
Symbol information
interval
interval: number
Interval
isBarClosed
isBarClosed: boolean
Whether the bar is closed
isFirstBar
isFirstBar: boolean
Whether this is the first bar
isLastBar
isLastBar: boolean
Whether this is the last bar
isNewBar
isNewBar: boolean
Whether this is a new bar
low
low: number
Low bar value
minTick
minTick: number
Minimum tick amount
open
open: number
Open bar value
period
period: ResolutionString
Bar resolution
periodBase
periodBase: string
Period Base
resolution
resolution: string
Resolution
ticker
ticker: string
Ticker
tickerid
tickerid: string
Ticker ID
time
time: number
Time
unitId
Optional
unitId: string
Unit ID
updatetime
updatetime: number
Time of the update
volume
volume: number
Bar Volume value
Methods
bartime
bartime(): number
Time of the bar.
Returns
number — the timestamp in milliseconds
isdwm
isdwm(): boolean
Returns
boolean — true if the bar resolution is day/week/month, false if it is intraday