PINE LIBRARY
Updated 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 Notes
v2Release Notes
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 Notes
v4Release Notes
v5Release Notes
v6Release Notes
v7Release Notes
v8Release Notes
v9Release Notes
v10Release Notes
v11Release Notes
v12Release Notes
v13Release Notes
v14Release Notes
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 Notes
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 Notes
v17Release Notes
v18Release Notes
v19Release Notes
v20Release Notes
v21Release Notes
v22Release Notes
v23Release Notes
v24Release Notes
v25Release Notes
v26Release Notes
v27Release Notes
v28Release Notes
Libary for EWCore Indicator. Includes several functions for use and is automaticly imported when indicator is added to chart.Release Notes
v30Release Notes
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 Notes
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 Notes
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 Notes
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 Notes
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 Notes
v36Added:
getLabelSize(s)
Parameters:
s (string)
f_lineStyle(s)
Parameters:
s (string)
Release Notes
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 Notes
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 Notes
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 Notes
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 Notes
v41Release Notes
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 Notes
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 Notes
v44Added:
f_comboBonus(enable, bonus, patternType)
Parameters:
enable (bool)
bonus (float)
patternType (string)
Release Notes
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 Notes
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 Notes
v47Release Notes
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 Notes
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 Notes
v50Release Notes
v51Release Notes
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 Notes
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 Notes
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 Notes
v55Added:
f_legDominance(bars, s, e)
Parameters:
bars (array<int>)
s (int)
e (int)
Release Notes
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 Notes
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 Notes
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 Notes
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 Notes
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 Notes
v61Release Notes
v62Release Notes
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 Notes
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 Notes
v65Release Notes
v66Release Notes
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 Notes
v68Release Notes
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 Notes
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 Notes
v71Release Notes
v72Release Notes
v73Release Notes
v74Release Notes
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 Notes
v76Release Notes
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 Notes
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 Notes
v79Release Notes
v80Release Notes
v81Release Notes
v82Updated:
f_extGlyph(extInfo, waveNo)
Parameters:
extInfo (string)
waveNo (int)
f_extTooltip(extInfo, waveNo)
Parameters:
extInfo (string)
waveNo (int)
Release Notes
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 Notes
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)
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
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.
Pine library
In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in publications is governed by House Rules.
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.