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)
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
Updated:
FixedCycleState
Fields:
starts (array<int>)
lastStartTs (series int)
lastBoundaryTs (series int)
q1 (QuarterRecord)
q2 (QuarterRecord)
q3 (QuarterRecord)
q4 (QuarterRecord)
prev1 (QuarterRecord)
prev2 (QuarterRecord)
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
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.
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
Biblioteca Pine
Fiel al espíritu de TradingView, el autor ha publicado este código de Pine como biblioteca de código abierto, para que otros programadores Pine de nuestra comunidad puedan reutilizarlo. ¡Enhorabuena al autor! Puede usar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero la reutilización de este código en publicaciones está sujeta a nuestras Normas internas.
Exención de responsabilidad
Biblioteca Pine
Fiel al espíritu de TradingView, el autor ha publicado este código de Pine como biblioteca de código abierto, para que otros programadores Pine de nuestra comunidad puedan reutilizarlo. ¡Enhorabuena al autor! Puede usar esta biblioteca de forma privada o en otras publicaciones de código abierto, pero la reutilización de este código en publicaciones está sujeta a nuestras Normas internas.