PINE LIBRARY
ที่อัปเดต: EWCoreEvaluators

Library "EWCoreEvaluators"
evaluateImpulseWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateDiagonalWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateZigzagFlatWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateTriangleWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateComboWXYWindow(pP, pBr, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateComboWXYXZWindow(pP, pBr, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
WaveCount
Fields:
countId (series string)
degreeLabel (series string)
hardRulesPassed (series bool)
wave4Overlap (series bool)
isUp (series bool)
scoreTotal (series float)
scoreFib (series float)
scoreAlternation (series float)
scoreEquality (series float)
scoreTime (series float)
scoreMTF (series float)
invalidationLevel (series float)
confidenceTier (series string)
patternType (series string)
possibleCombination (series bool)
numPoints (series int)
w1s (series float)
w1e (series float)
w2e (series float)
w3e (series float)
w4e (series float)
w5e (series float)
w1eBar (series int)
w2eBar (series int)
w3eBar (series int)
w4eBar (series int)
w5eBar (series int)
startIdx (series int)
comboStructure (series string)
degree (series int)
endBar (series int)
anchoredStart (series bool)
legsConsumed (series int)
scoreMomentum (series float)
EngineConfig
Fields:
tolWave2Pct (series float)
tolWave3Pct (series float)
tolWave4Pct (series float)
tolCorrectiveBPct (series float)
tolMaxMalus (series float)
wFib (series float)
wAlt (series float)
wEq (series float)
wTime (series float)
wMTF (series float)
wMomentum (series float)
enableSubWaveCheck (series bool)
strictLegValidation (series bool)
anchorLookback (series int)
dirD1 (series int)
dirH4 (series int)
maxBarsBackSafe (series int)
retracementLevels (array<float>)
extensionLevels (array<float>)
timeLevels (array<float>)
contractLevels (array<float>)
expandLevels (array<float>)
evaluateImpulseWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateDiagonalWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateZigzagFlatWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateTriangleWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateComboWXYWindow(pP, pBr, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateComboWXYXZWindow(pP, pBr, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
WaveCount
Fields:
countId (series string)
degreeLabel (series string)
hardRulesPassed (series bool)
wave4Overlap (series bool)
isUp (series bool)
scoreTotal (series float)
scoreFib (series float)
scoreAlternation (series float)
scoreEquality (series float)
scoreTime (series float)
scoreMTF (series float)
invalidationLevel (series float)
confidenceTier (series string)
patternType (series string)
possibleCombination (series bool)
numPoints (series int)
w1s (series float)
w1e (series float)
w2e (series float)
w3e (series float)
w4e (series float)
w5e (series float)
w1eBar (series int)
w2eBar (series int)
w3eBar (series int)
w4eBar (series int)
w5eBar (series int)
startIdx (series int)
comboStructure (series string)
degree (series int)
endBar (series int)
anchoredStart (series bool)
legsConsumed (series int)
scoreMomentum (series float)
EngineConfig
Fields:
tolWave2Pct (series float)
tolWave3Pct (series float)
tolWave4Pct (series float)
tolCorrectiveBPct (series float)
tolMaxMalus (series float)
wFib (series float)
wAlt (series float)
wEq (series float)
wTime (series float)
wMTF (series float)
wMomentum (series float)
enableSubWaveCheck (series bool)
strictLegValidation (series bool)
anchorLookback (series int)
dirD1 (series int)
dirH4 (series int)
maxBarsBackSafe (series int)
retracementLevels (array<float>)
extensionLevels (array<float>)
timeLevels (array<float>)
contractLevels (array<float>)
expandLevels (array<float>)
Release Note
v2Release Note
v3Updated:
evaluateComboWXYWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateComboWXYXZWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
Release Note
v4Release Note
v5Release Note
v6Release Note
v7Release Note
v8Release Note
v9Release Note
v10Release Note
v11Release Note
v12Release Note
v13Release Note
v14Release Note
v15Updated:
evaluateImpulseWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries, doRealCheck)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
doRealCheck (bool)
evaluateDiagonalWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries, doRealCheck)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
doRealCheck (bool)
evaluateZigzagFlatWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries, doRealCheck)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
doRealCheck (bool)
evaluateTriangleWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries, doRealCheck)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
doRealCheck (bool)
evaluateComboWXYWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries, doRealCheck)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
doRealCheck (bool)
evaluateComboWXYXZWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries, doRealCheck)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
doRealCheck (bool)
Release Note
v16Added:
revalidateCandidate(c, pP, pBr, vP, vB, cfg, rsiSeries)
Parameters:
c (WaveCount)
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
Updated:
evaluateImpulseWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateDiagonalWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateZigzagFlatWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateTriangleWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateComboWXYWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
evaluateComboWXYXZWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
Release Note
v17Release Note
v18Release Note
v19Release Note
v20Release Note
v21Release Note
v22Release Note
v23Release Note
v24Release Note
v25Release Note
v26Release Note
v27Release Note
v28Release Note
Libary for EWCore Indicator. Includes several functions for use and is automaticly imported when indicator is added to chart.Release Note
v30Release Note
v31Added:
evaluateImpulseRecoveredWindow(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
Release Note
v32Added:
impulseFunnelText(pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainImp, chainTot, seqImp, seqTot, topImp, topTot)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainImp (int)
chainTot (int)
seqImp (int)
seqTot (int)
topImp (int)
topTot (int)
Release Note
v33Added:
drawImpulseFunnel(show, pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, seqA, topA)
Parameters:
show (bool)
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
seqA (array<WaveCount>)
topA (array<WaveCount>)
Release Note
v34Added:
evaluateLegWhole(pP, pBr, vP, vB, degree, srcStart, srcEnd, cfg, rsiSeries, enZigzag, enImpulse, enDiagonal, enTriangle)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
srcStart (int)
srcEnd (int)
cfg (EngineConfig)
rsiSeries (float)
enZigzag (bool)
enImpulse (bool)
enDiagonal (bool)
enTriangle (bool)
Release Note
v35Updated:
evaluateLegWhole(pP, pBr, vP, vB, degree, srcStart, srcEnd, cfg, rsiSeries, enZigzag, enImpulse, enDiagonal, enTriangle, minScore)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
srcStart (int)
srcEnd (int)
cfg (EngineConfig)
rsiSeries (float)
enZigzag (bool)
enImpulse (bool)
enDiagonal (bool)
enTriangle (bool)
minScore (float)
Release Note
v36Added:
getLabelSize(s)
Parameters:
s (string)
f_lineStyle(s)
Parameters:
s (string)
Release Note
v37Added:
subLowerBound(vBars, bar)
Parameters:
vBars (array<int>)
bar (int)
f_barValToTime(vBars, vTimes, barVal)
Parameters:
vBars (array<int>)
vTimes (array<int>)
barVal (int)
Release Note
v38Updated:
evaluateLegWhole(pP, pBr, vP, vB, degree, srcStart, srcEnd, cfg, rsiSeries, enZigzag, enImpulse, enDiagonal, enTriangle, enCombo3, minScore, comboTolerance)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
srcStart (int)
srcEnd (int)
cfg (EngineConfig)
rsiSeries (float)
enZigzag (bool)
enImpulse (bool)
enDiagonal (bool)
enTriangle (bool)
enCombo3 (bool)
minScore (float)
comboTolerance (int)
Release Note
v39Added:
comboFunnelText(pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainCombo, chainTot, seqCombo, seqTot, topCombo, topTot)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainCombo (int)
chainTot (int)
seqCombo (int)
seqTot (int)
topCombo (int)
topTot (int)
drawComboFunnel(show, pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, seqA, topA)
Parameters:
show (bool)
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
seqA (array<WaveCount>)
topA (array<WaveCount>)
Release Note
v40Updated:
comboFunnelText(pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, chainCombo, chainTot, seqCombo, seqTot, topCombo, topTot)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
chainCombo (int)
chainTot (int)
seqCombo (int)
seqTot (int)
topCombo (int)
topTot (int)
Release Note
v41Release Note
v42Updated:
comboFunnelText(pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, chainCombo, chainTot, seqCombo, seqTot, topCombo, topTot, pTimes, gateActive, gateHard, gateProxyIsUp, gateProxyInvLevel, gateProxyLastTime, gateParentTF, gateToleranceBars, gateMalus, gateMinScore)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
chainCombo (int)
chainTot (int)
seqCombo (int)
seqTot (int)
topCombo (int)
topTot (int)
pTimes (array<int>)
gateActive (bool)
gateHard (bool)
gateProxyIsUp (bool)
gateProxyInvLevel (float)
gateProxyLastTime (int)
gateParentTF (string)
gateToleranceBars (int)
gateMalus (float)
gateMinScore (float)
drawComboFunnel(show, pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, seqA, topA, pTimes, gateActive, gateHard, gateProxyIsUp, gateProxyInvLevel, gateProxyLastTime, gateParentTF, gateToleranceBars, gateMalus, gateMinScore)
Parameters:
show (bool)
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
seqA (array<WaveCount>)
topA (array<WaveCount>)
pTimes (array<int>)
gateActive (bool)
gateHard (bool)
gateProxyIsUp (bool)
gateProxyInvLevel (float)
gateProxyLastTime (int)
gateParentTF (string)
gateToleranceBars (int)
gateMalus (float)
gateMinScore (float)
Release Note
v43Updated:
comboFunnelText(pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, chainCombo, chainTot, seqCombo, seqTot, topCombo, topTot, pTimes, gateActive, gateHard, gateProxyIsUp, gateProxyInvLevel, gateProxyLastTime, gateParentTF, gateToleranceBars, gateMalus, gateMinScore, segCoveredArr, gapFillTolerance, showDetail)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
chainCombo (int)
chainTot (int)
seqCombo (int)
seqTot (int)
topCombo (int)
topTot (int)
pTimes (array<int>)
gateActive (bool)
gateHard (bool)
gateProxyIsUp (bool)
gateProxyInvLevel (float)
gateProxyLastTime (int)
gateParentTF (string)
gateToleranceBars (int)
gateMalus (float)
gateMinScore (float)
segCoveredArr (array<bool>)
gapFillTolerance (int)
showDetail (bool)
drawComboFunnel(show, pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, seqA, topA, pTimes, gateActive, gateHard, gateProxyIsUp, gateProxyInvLevel, gateProxyLastTime, gateParentTF, gateToleranceBars, gateMalus, gateMinScore, segCoveredArr, gapFillTolerance, showDetail)
Parameters:
show (bool)
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
seqA (array<WaveCount>)
topA (array<WaveCount>)
pTimes (array<int>)
gateActive (bool)
gateHard (bool)
gateProxyIsUp (bool)
gateProxyInvLevel (float)
gateProxyLastTime (int)
gateParentTF (string)
gateToleranceBars (int)
gateMalus (float)
gateMinScore (float)
segCoveredArr (array<bool>)
gapFillTolerance (int)
showDetail (bool)
Release Note
v44Added:
f_comboBonus(enable, bonus, patternType)
Parameters:
enable (bool)
bonus (float)
patternType (string)
Release Note
v45Added:
f_dpEdgeModifier(candPool, dpCandIdx, k, c, grammarEnabled, grammarBonus, grammarMalus, comboEnabled, comboBonusVal)
Parameters:
candPool (array<WaveCount>)
dpCandIdx (array<int>)
k (int)
c (WaveCount)
grammarEnabled (bool)
grammarBonus (float)
grammarMalus (float)
comboEnabled (bool)
comboBonusVal (float)
Release Note
v46Added:
f_realGapFill(pP, pBr, vP, vB, cfg, rsiSeries, segCoveredArr, chainStepsArr, minGapSpan, tryCombo3, tryCombo5, tryImpulse, tryDiagonal, tryTriangle, tryZigzag, minScore)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
segCoveredArr (array<bool>)
chainStepsArr (array<WaveCount>)
minGapSpan (int)
tryCombo3 (bool)
tryCombo5 (bool)
tryImpulse (bool)
tryDiagonal (bool)
tryTriangle (bool)
tryZigzag (bool)
minScore (float)
Release Note
v47Release Note
v48Added:
f_gapNoiseMetrics(pP, gapStartIdx, gapEndIdx, atrVal)
Parameters:
pP (array<float>)
gapStartIdx (int)
gapEndIdx (int)
atrVal (float)
Updated:
comboFunnelText(pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, chainCombo, chainTot, seqCombo, seqTot, topCombo, topTot, pTimes, gateActive, gateHard, gateProxyIsUp, gateProxyInvLevel, gateProxyLastTime, gateParentTF, gateToleranceBars, gateMalus, gateMinScore, segCoveredArr, showDetail)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
chainCombo (int)
chainTot (int)
seqCombo (int)
seqTot (int)
topCombo (int)
topTot (int)
pTimes (array<int>)
gateActive (bool)
gateHard (bool)
gateProxyIsUp (bool)
gateProxyInvLevel (float)
gateProxyLastTime (int)
gateParentTF (string)
gateToleranceBars (int)
gateMalus (float)
gateMinScore (float)
segCoveredArr (array<bool>)
showDetail (bool)
drawComboFunnel(show, pP, pBr, vP, vB, cfg, rsiSeries, maxWindows, chainA, seqA, topA, pTimes, gateActive, gateHard, gateProxyIsUp, gateProxyInvLevel, gateProxyLastTime, gateParentTF, gateToleranceBars, gateMalus, gateMinScore, segCoveredArr, showDetail)
Parameters:
show (bool)
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
cfg (EngineConfig)
rsiSeries (float)
maxWindows (int)
chainA (array<WaveCount>)
seqA (array<WaveCount>)
topA (array<WaveCount>)
pTimes (array<int>)
gateActive (bool)
gateHard (bool)
gateProxyIsUp (bool)
gateProxyInvLevel (float)
gateProxyLastTime (int)
gateParentTF (string)
gateToleranceBars (int)
gateMalus (float)
gateMinScore (float)
segCoveredArr (array<bool>)
showDetail (bool)
Release Note
v49Added:
f_atomicDiagText(n)
Parameters:
n (int)
f_gapBridgeText(degName, up, erTxt, legTxt)
Parameters:
degName (string)
up (bool)
erTxt (string)
legTxt (string)
f_drawDateMarker(showIt, tMark, yLo, yHi, yLbl, col, nameTxt, tzId, lineWidth)
Parameters:
showIt (bool)
tMark (int)
yLo (float)
yHi (float)
yLbl (float)
col (color)
nameTxt (string)
tzId (string)
lineWidth (int)
f_drawRoutedLeg(targetLines, subBars, subTimes, subPrices, t1, v1, t2, v2, b0, b1, longEnough, col, segWidth, lnStyle)
Parameters:
targetLines (array<line>)
subBars (array<int>)
subTimes (array<int>)
subPrices (array<float>)
t1 (int)
v1 (float)
t2 (int)
v2 (float)
b0 (int)
b1 (int)
longEnough (bool)
col (color)
segWidth (int)
lnStyle (string)
Release Note
v50Release Note
v51Release Note
v52Added:
f_discriminateWindow(pP, pBr, vB, startIdx, impOk, diagOk, triOk, floorFit, margin, useSubCount)
Parameters:
pP (array<float>)
pBr (array<int>)
vB (array<int>)
startIdx (int)
impOk (bool)
diagOk (bool)
triOk (bool)
floorFit (float)
margin (float)
useSubCount (bool)
f_evalWindowTrio(pP, pBr, vP, vB, degree, startIdx, cfg, rsiSeries, enImp, enDiag, enTri, useDisc, floorFit, margin, useSubCount)
Parameters:
pP (array<float>)
pBr (array<int>)
vP (array<float>)
vB (array<int>)
degree (int)
startIdx (int)
cfg (EngineConfig)
rsiSeries (float)
enImp (bool)
enDiag (bool)
enTri (bool)
useDisc (bool)
floorFit (float)
margin (float)
useSubCount (bool)
Release Note
v53Added:
f_frameCount(tgtLines, tgtLabels, pP, pB, pT, vB, curPrice, curTime, skelN, minScore, lineCol, invalCol, lineW, lblSizeName)
Parameters:
tgtLines (array<line>)
tgtLabels (array<label>)
pP (array<float>)
pB (array<int>)
pT (array<int>)
vB (array<int>)
curPrice (float)
curTime (int)
skelN (int)
minScore (float)
lineCol (color)
invalCol (color)
lineW (int)
lblSizeName (string)
Release Note
v54Added:
f_drawWholeLegFallback(targetLabels, targetLines, t0, t1, p0, p1, pivotCount, waveLetter, degText, showLabel, showLine, labelOffsetAmt, labelBgColor, labelTextColor, labelSizeName, lineColor, lineWidth, lineStyleName)
Parameters:
targetLabels (array<label>)
targetLines (array<line>)
t0 (int)
t1 (int)
p0 (float)
p1 (float)
pivotCount (int)
waveLetter (string)
degText (string)
showLabel (bool)
showLine (bool)
labelOffsetAmt (float)
labelBgColor (color)
labelTextColor (color)
labelSizeName (string)
lineColor (color)
lineWidth (int)
lineStyleName (string)
Release Note
v55Added:
f_legDominance(bars, s, e)
Parameters:
bars (array<int>)
s (int)
e (int)
Release Note
v56Added:
f_evalCandDegStep(bars, b0, b1, maxDominance)
Parameters:
bars (array<int>)
b0 (int)
b1 (int)
maxDominance (float)
f_evalFloorLeg(bars, b0, b1, maxDominance)
Parameters:
bars (array<int>)
b0 (int)
b1 (int)
maxDominance (float)
Release Note
v57Added:
f_candDegPasses(bars, b0, b1, maxDominance)
Parameters:
bars (array<int>)
b0 (int)
b1 (int)
maxDominance (float)
f_floorLegPasses(bars, b0, b1, maxDominance)
Parameters:
bars (array<int>)
b0 (int)
b1 (int)
maxDominance (float)
Release Note
v58Added:
f_drawWholeLegFallbackFromPivots(targetLabels, targetLines, times, prices, idx0, idx1, pivotCount, waveLetter, degText, showLabel, showLine, labelOffsetAmt, labelBgColor, labelTextColor, labelSizeName, lineColor, lineWidth, lineStyleName)
Parameters:
targetLabels (array<label>)
targetLines (array<line>)
times (array<int>)
prices (array<float>)
idx0 (int)
idx1 (int)
pivotCount (int)
waveLetter (string)
degText (string)
showLabel (bool)
showLine (bool)
labelOffsetAmt (float)
labelBgColor (color)
labelTextColor (color)
labelSizeName (string)
lineColor (color)
lineWidth (int)
lineStyleName (string)
Release Note
v59Added:
f_drawWholeLegFallbackFromArrays(targetLabels, targetLines, times, prices, timeIdx0, timeIdx1, priceIdx0, priceIdx1, pivotCount, waveLetter, degText, showLabel, showLine, labelOffsetAmt, labelBgColor, labelTextColor, labelSizeName, lineColor, lineWidth, lineStyleName)
Parameters:
targetLabels (array<label>)
targetLines (array<line>)
times (array<int>)
prices (array<float>)
timeIdx0 (int)
timeIdx1 (int)
priceIdx0 (int)
priceIdx1 (int)
pivotCount (int)
waveLetter (string)
degText (string)
showLabel (bool)
showLine (bool)
labelOffsetAmt (float)
labelBgColor (color)
labelTextColor (color)
labelSizeName (string)
lineColor (color)
lineWidth (int)
lineStyleName (string)
Release Note
v60Added:
f_drawExplanationLabel(targetLabels, t, p, isHigh, bgColor, textColor, sizeName, tooltipText)
Parameters:
targetLabels (array<label>)
t (int)
p (float)
isHigh (bool)
bgColor (color)
textColor (color)
sizeName (string)
tooltipText (string)
Release Note
v61Release Note
v62Release Note
v63Added:
getDegreeLabel(tf)
Parameters:
tf (string)
shiftDegreeUp(d)
Parameters:
d (string)
shiftDegreeDown(d)
Parameters:
d (string)
f_degreeNameFor(deg, chartTF)
Parameters:
deg (int)
chartTF (string)
f_notatedLabelTextArray(patternType, deg, chartTF)
Parameters:
patternType (string)
deg (int)
chartTF (string)
f_depth2InnerLegs(targetLabels, targetLines, steps, stepBars, sP, sB, sTimes, chartTF, notationDeg, cfg, rsiSeries, enZigzag, enImpulse, enDiagonal, enTriangle, enCombo3, minScore, comboTolerance, maxDominance, minLegBars, lblColor, lblSizeName, offTop, offBottom, showLine, lineColorUp, lineColorDown, lineWidth, lineStyleName, showMarkLbl, showMarkLine, markOffsetAmt, markBgColor, markTextColor, markSizeName, markLineColor, markLineWidth, markLineStyleName)
Parameters:
targetLabels (array<label>)
targetLines (array<line>)
steps (array<WaveCount>)
stepBars (array<int>)
sP (array<float>)
sB (array<int>)
sTimes (array<int>)
chartTF (string)
notationDeg (int)
cfg (EngineConfig)
rsiSeries (float)
enZigzag (bool)
enImpulse (bool)
enDiagonal (bool)
enTriangle (bool)
enCombo3 (bool)
minScore (float)
comboTolerance (int)
maxDominance (float)
minLegBars (float)
lblColor (color)
lblSizeName (string)
offTop (float)
offBottom (float)
showLine (bool)
lineColorUp (color)
lineColorDown (color)
lineWidth (int)
lineStyleName (string)
showMarkLbl (bool)
showMarkLine (bool)
markOffsetAmt (float)
markBgColor (color)
markTextColor (color)
markSizeName (string)
markLineColor (color)
markLineWidth (int)
markLineStyleName (string)
Release Note
v64Updated:
f_depth2InnerLegs(targetLabels, targetLines, steps, stepBars, sP, sB, sTimes, pBars, pTimes, chartTF, notationDeg, cfg, rsiSeries, enZigzag, enImpulse, enDiagonal, enTriangle, enCombo3, minScore, comboTolerance, maxDominance, minLegBars, lblColor, lblSizeName, offTop, offBottom, showLine, lineColorUp, lineColorDown, lineWidth, lineStyleName, showMarkLbl, showMarkLine, markOffsetAmt, markBgColor, markTextColor, markSizeName, markLineColor, markLineWidth, markLineStyleName)
Parameters:
targetLabels (array<label>)
targetLines (array<line>)
steps (array<WaveCount>)
stepBars (array<int>)
sP (array<float>)
sB (array<int>)
sTimes (array<int>)
pBars (array<int>)
pTimes (array<int>)
chartTF (string)
notationDeg (int)
cfg (EngineConfig)
rsiSeries (float)
enZigzag (bool)
enImpulse (bool)
enDiagonal (bool)
enTriangle (bool)
enCombo3 (bool)
minScore (float)
comboTolerance (int)
maxDominance (float)
minLegBars (float)
lblColor (color)
lblSizeName (string)
offTop (float)
offBottom (float)
showLine (bool)
lineColorUp (color)
lineColorDown (color)
lineWidth (int)
lineStyleName (string)
showMarkLbl (bool)
showMarkLine (bool)
markOffsetAmt (float)
markBgColor (color)
markTextColor (color)
markSizeName (string)
markLineColor (color)
markLineWidth (int)
markLineStyleName (string)
Release Note
v65Release Note
v66Release Note
v67Updated:
EngineConfig
Fields:
tolWave2Pct (series float)
tolWave3Pct (series float)
tolWave4Pct (series float)
tolCorrectiveBPct (series float)
tolMaxMalus (series float)
wFib (series float)
wAlt (series float)
wEq (series float)
wTime (series float)
wMTF (series float)
wMomentum (series float)
enableSubWaveCheck (series bool)
strictLegValidation (series bool)
enableExtensionFamily (series bool)
anchorLookback (series int)
dirD1 (series int)
dirH4 (series int)
maxBarsBackSafe (series int)
retracementLevels (array<float>)
extensionLevels (array<float>)
timeLevels (array<float>)
contractLevels (array<float>)
expandLevels (array<float>)
Release Note
v68Release Note
v69Added:
f_extGlyph(extInfo, waveNo)
Parameters:
extInfo (string)
waveNo (int)
f_extTooltip(extInfo, waveNo)
Parameters:
extInfo (string)
waveNo (int)
Updated:
WaveCount
Fields:
countId (series string)
degreeLabel (series string)
hardRulesPassed (series bool)
wave4Overlap (series bool)
isUp (series bool)
scoreTotal (series float)
scoreFib (series float)
scoreAlternation (series float)
scoreEquality (series float)
scoreTime (series float)
scoreMTF (series float)
invalidationLevel (series float)
confidenceTier (series string)
patternType (series string)
possibleCombination (series bool)
numPoints (series int)
w1s (series float)
w1e (series float)
w2e (series float)
w3e (series float)
w4e (series float)
w5e (series float)
w1eBar (series int)
w2eBar (series int)
w3eBar (series int)
w4eBar (series int)
w5eBar (series int)
startIdx (series int)
comboStructure (series string)
degree (series int)
endBar (series int)
anchoredStart (series bool)
legsConsumed (series int)
scoreMomentum (series float)
extInfo (series string)
Release Note
v70Updated:
f_extGlyph(extInfo, waveNo, diag)
Parameters:
extInfo (string)
waveNo (int)
diag (bool)
f_extTooltip(extInfo, waveNo, diag)
Parameters:
extInfo (string)
waveNo (int)
diag (bool)
Release Note
v71Release Note
v72Release Note
v73Release Note
v74Release Note
v75Updated:
EngineConfig
Fields:
tolWave2Pct (series float)
tolWave3Pct (series float)
tolWave4Pct (series float)
tolCorrectiveBPct (series float)
tolMaxMalus (series float)
wFib (series float)
wAlt (series float)
wEq (series float)
wTime (series float)
wMTF (series float)
wMomentum (series float)
enableSubWaveCheck (series bool)
strictLegValidation (series bool)
enableExtensionFamily (series bool)
extScoreMargin (series float)
anchorLookback (series int)
dirD1 (series int)
dirH4 (series int)
maxBarsBackSafe (series int)
retracementLevels (array<float>)
extensionLevels (array<float>)
timeLevels (array<float>)
contractLevels (array<float>)
expandLevels (array<float>)
Release Note
v76Release Note
v77Updated:
EngineConfig
Fields:
tolWave2Pct (series float)
tolWave3Pct (series float)
tolWave4Pct (series float)
tolCorrectiveBPct (series float)
tolMaxMalus (series float)
wFib (series float)
wAlt (series float)
wEq (series float)
wTime (series float)
wMTF (series float)
wMomentum (series float)
enableSubWaveCheck (series bool)
strictLegValidation (series bool)
enableExtensionFamily (series bool)
extScoreMargin (series float)
ruleAwareCompress (series bool)
anchorLookback (series int)
dirD1 (series int)
dirH4 (series int)
maxBarsBackSafe (series int)
retracementLevels (array<float>)
extensionLevels (array<float>)
timeLevels (array<float>)
contractLevels (array<float>)
expandLevels (array<float>)
Release Note
v78Updated:
EngineConfig
Fields:
tolWave2Pct (series float)
tolWave3Pct (series float)
tolWave4Pct (series float)
tolCorrectiveBPct (series float)
tolMaxMalus (series float)
wFib (series float)
wAlt (series float)
wEq (series float)
wTime (series float)
wMTF (series float)
wMomentum (series float)
enableSubWaveCheck (series bool)
strictLegValidation (series bool)
enableExtensionFamily (series bool)
extScoreMargin (series float)
ruleAwareCompress (series bool)
extMinRawPerWave (series float)
anchorLookback (series int)
dirD1 (series int)
dirH4 (series int)
maxBarsBackSafe (series int)
retracementLevels (array<float>)
extensionLevels (array<float>)
timeLevels (array<float>)
contractLevels (array<float>)
expandLevels (array<float>)
Release Note
v79Release Note
v80Release Note
v81Release Note
v82Updated:
f_extGlyph(extInfo, waveNo)
Parameters:
extInfo (string)
waveNo (int)
f_extTooltip(extInfo, waveNo)
Parameters:
extInfo (string)
waveNo (int)
Release Note
v83Added:
getPatternExplanation(patternType, comboStruct, p0, p1, p2, p3, p4, p5)
Parameters:
patternType (string)
comboStruct (string)
p0 (float)
p1 (float)
p2 (float)
p3 (float)
p4 (float)
p5 (float)
Release Note
v84Added:
f_patternExplanation(patternType, comboStruct, p0, p1, p2, p3, p4, p5)
Parameters:
patternType (string)
comboStruct (string)
p0 (float)
p1 (float)
p2 (float)
p3 (float)
p4 (float)
p5 (float)
Removed:
getPatternExplanation(patternType, comboStruct, p0, p1, p2, p3, p4, p5)
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
ไลบรารีไพน์
ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนได้เผยแพร่ Pine code นี้เป็นโอเพนซอร์สไลบรารีเพื่อให้ Pine โปรแกรมเมอร์คนอื่นในชุมชนของเราสามารถนำไปใช้ซ้ำได้ ต้องขอบคุณผู้เขียน! คุณสามารถใช้ไลบรารีนี้ในแบบส่วนตัวหรือในการเผยแพร่แบบโอเพนซอร์สอื่น ๆ แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน