PINE LIBRARY
Updated

QTCore

118
Library "QTCore"

qt_config_default()

qt_state_new()

qt_daily_update(st, cfg, t, tClose)
  Parameters:
    st (CycleState)
    cfg (QTConfig)
    t (int)
    tClose (int)

qt_m90_update(st, cfg, t, tClose)
  Parameters:
    st (CycleState)
    cfg (QTConfig)
    t (int)
    tClose (int)

qt_micro_update(st, cfg, t, tClose)
  Parameters:
    st (CycleState)
    cfg (QTConfig)
    t (int)
    tClose (int)

qt_nano_update(st, cfg, t, tClose)
  Parameters:
    st (CycleState)
    cfg (QTConfig)
    t (int)
    tClose (int)

QTConfig
  Fields:
    tz (series string)
    dayStartHour (series int)
    dayStartMin (series int)
    keepCycles (series int)
    tfDaily (series string)
    tfM90 (series string)
    tfMicro (series string)
    tfNano (series string)

QuarterOHLC
  Fields:
    startTs (series int)
    o (series float)
    h (series float)
    l (series float)
    c (series float)
    has (series bool)

CycleResult
  Fields:
    startTs (series int)
    endTs (series int)
    startRealized (series bool)
    endRealized (series bool)
    q1Ts (series int)
    q2Ts (series int)
    q3Ts (series int)
    q4Ts (series int)
    q2Realized (series bool)
    q3Realized (series bool)
    q4Realized (series bool)
    curQuarterIndex (series int)
    inWindow (series bool)
    q1 (QuarterOHLC)
    q2 (QuarterOHLC)
    q3 (QuarterOHLC)
    q4 (QuarterOHLC)

FixedCycleState
  Fields:
    starts (array<int>)
    lastStartTs (series int)

CycleState
  Fields:
    daily (FixedCycleState)
    m90 (FixedCycleState)
    micro (FixedCycleState)
    nano (FixedCycleState)
Release Notes
v2

Added:
QuarterRecord
  Fields:
    boundaryTs (series int)
    o (series float)
    h (series float)
    l (series float)
    c (series float)
    oTs (series int)
    hTs (series int)
    lTs (series int)
    cTs (series int)
    has (series bool)
    isEmpty (series bool)
    isFinal (series bool)
    evtStart (series bool)
    evtFinalize (series bool)

Updated:
CycleResult
  Fields:
    startTs (series int)
    endTs (series int)
    startRealized (series bool)
    endRealized (series bool)
    q1Ts (series int)
    q2Ts (series int)
    q3Ts (series int)
    q4Ts (series int)
    q2Realized (series bool)
    q3Realized (series bool)
    q4Realized (series bool)
    curQuarterIndex (series int)
    inWindow (series bool)
    q1 (QuarterRecord)
    q2 (QuarterRecord)
    q3 (QuarterRecord)
    q4 (QuarterRecord)

Removed:
QuarterOHLC
Release Notes
v3

Updated:
FixedCycleState
  Fields:
    starts (array<int>)
    lastStartTs (series int)
    lastBoundaryTs (series int)
    q1 (QuarterRecord)
    q2 (QuarterRecord)
    q3 (QuarterRecord)
    q4 (QuarterRecord)
    prev1 (QuarterRecord)
    prev2 (QuarterRecord)
Release Notes
v4
Release Notes
v5

Added:
deprecated_message()
  Returns the deprecation notice string. (Safe to call; does not halt execution.)
  Returns: The deprecation message.

deprecated_guard()
  Call this at the top of any script that imports this library if you want it to hard-stop.
  Returns: The same deprecation message (unreachable after the error, but required for return typing).

deprecated_version()
  Library version label for humans.
  Returns: A simple version label.

Removed:
qt_config_default()

qt_state_new()

qt_daily_update(st, cfg, t, tClose)

qt_m90_update(st, cfg, t, tClose)

qt_micro_update(st, cfg, t, tClose)

qt_nano_update(st, cfg, t, tClose)

QTConfig

QuarterRecord

CycleResult

FixedCycleState

CycleState
Release Notes
v6

Added:
qt_config_default()

qt_state_new()

qt_daily_update(st, cfg, t, tClose)
  Parameters:
    st (CycleState)
    cfg (QTConfig)
    t (int)
    tClose (int)

qt_m90_update(st, cfg, t, tClose)
  Parameters:
    st (CycleState)
    cfg (QTConfig)
    t (int)
    tClose (int)

qt_micro_update(st, cfg, t, tClose)
  Parameters:
    st (CycleState)
    cfg (QTConfig)
    t (int)
    tClose (int)

qt_nano_update(st, cfg, t, tClose)
  Parameters:
    st (CycleState)
    cfg (QTConfig)
    t (int)
    tClose (int)

QTConfig
  Fields:
    tz (series string)
    dayStartHour (series int)
    dayStartMin (series int)
    keepCycles (series int)
    tfDaily (series string)
    tfM90 (series string)
    tfMicro (series string)
    tfNano (series string)

QuarterRecord
  Fields:
    boundaryTs (series int)
    o (series float)
    h (series float)
    l (series float)
    c (series float)
    oTs (series int)
    hTs (series int)
    lTs (series int)
    cTs (series int)
    has (series bool)
    isEmpty (series bool)
    isFinal (series bool)
    evtStart (series bool)
    evtFinalize (series bool)

CycleResult
  Fields:
    startTs (series int)
    endTs (series int)
    startRealized (series bool)
    endRealized (series bool)
    q1Ts (series int)
    q2Ts (series int)
    q3Ts (series int)
    q4Ts (series int)
    q2Realized (series bool)
    q3Realized (series bool)
    q4Realized (series bool)
    curQuarterIndex (series int)
    inWindow (series bool)
    q1 (QuarterRecord)
    q2 (QuarterRecord)
    q3 (QuarterRecord)
    q4 (QuarterRecord)

FixedCycleState
  Fields:
    starts (array<int>)
    lastStartTs (series int)
    lastBoundaryTs (series int)
    q1 (QuarterRecord)
    q2 (QuarterRecord)
    q3 (QuarterRecord)
    q4 (QuarterRecord)
    prev1 (QuarterRecord)
    prev2 (QuarterRecord)

CycleState
  Fields:
    daily (FixedCycleState)
    m90 (FixedCycleState)
    micro (FixedCycleState)
    nano (FixedCycleState)

Removed:
deprecated_message()
  Returns the deprecation notice string. (Safe to call; does not halt execution.)

deprecated_guard()
  Call this at the top of any script that imports this library if you want it to hard-stop.

deprecated_version()
  Library version label for humans.
Release Notes
v7
Release Notes
v8
Release Notes
v9

Added:
deprecated_message()
  Returns the deprecation notice string. (Safe to call; does not halt execution.)
  Returns: The deprecation message.

deprecated_guard()
  Call this at the top of any script that imports this library if you want it to hard-stop.
  Returns: The same deprecation message (unreachable after the error, but required for return typing).

deprecated_version()
  Library version label for humans.
  Returns: A simple version label.

Removed:
qt_config_default()

qt_state_new()

qt_daily_update(st, cfg, t, tClose)

qt_m90_update(st, cfg, t, tClose)

qt_micro_update(st, cfg, t, tClose)

qt_nano_update(st, cfg, t, tClose)

QTConfig

QuarterRecord

CycleResult

FixedCycleState

CycleState

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.