CryptonianEWCountRuntime

528
Library "CryptonianEWCountRuntime"
Cryptonian Elliott Wave CountRuntime /1. Owns candidate scanning, selected-count hard-rule validation and Primary/Alternate hysteresis selection for the thin Elliott Waves Engine host.

findPivotIndex(pivotIds, wantedId)
  Parameters:
    pivotIds (array<int>)
    wantedId (int)

findString(values, wanted)
  Parameters:
    values (array<string>)
    wanted (string)

validatePrimary(primaryKey, primaryBaseId0, deadKeys, pivotIds, pivotPrices, pivotBars, hasPendingPivot, pendingPrice, pendingBar, allowDiagonals, allowTruncation, truncationMinPct, extensionThreshold, diagonalTolerance, invalidationMode)
  Parameters:
    primaryKey (string)
    primaryBaseId0 (int)
    deadKeys (array<string>)
    pivotIds (array<int>)
    pivotPrices (array<float>)
    pivotBars (array<int>)
    hasPendingPivot (bool)
    pendingPrice (float)
    pendingBar (int)
    allowDiagonals (bool)
    allowTruncation (bool)
    truncationMinPct (float)
    extensionThreshold (float)
    diagonalTolerance (float)
    invalidationMode (string)

shouldClearAlternate(alternateKey, alternateBaseId0, deadKeys, pivotIds, pivotPrices, pivotBars, hasPendingPivot, pendingPrice, pendingBar, allowDiagonals, allowTruncation, truncationMinPct, extensionThreshold, diagonalTolerance, invalidationMode)
  Parameters:
    alternateKey (string)
    alternateBaseId0 (int)
    deadKeys (array<string>)
    pivotIds (array<int>)
    pivotPrices (array<float>)
    pivotBars (array<int>)
    hasPendingPivot (bool)
    pendingPrice (float)
    pendingBar (int)
    allowDiagonals (bool)
    allowTruncation (bool)
    truncationMinPct (float)
    extensionThreshold (float)
    diagonalTolerance (float)
    invalidationMode (string)

buildCandidates(candidateKeys, candidateBaseId0, candidateBaseId1, candidateDirections, candidateLockedCounts, candidateScores, candidateW2Depths, candidateW3Extensions, candidateW4Depths, candidateW5Ratios, candidateInvalidations, candidateInvalidationTypes, candidateMotiveTypes, candidateExtensionTypes, candidateDiagonalShapes, candidateRule3Applicability, candidateTruncations, deadKeys, pivotPrices, pivotBars, pivotIds, candidateStarts, hasPendingPivot, pendingPrice, pendingBar, allowDiagonals, allowTruncation, truncationMinPct, extensionThreshold, diagonalTolerance, invalidationMode)
  Parameters:
    candidateKeys (array<string>)
    candidateBaseId0 (array<int>)
    candidateBaseId1 (array<int>)
    candidateDirections (array<int>)
    candidateLockedCounts (array<int>)
    candidateScores (array<float>)
    candidateW2Depths (array<float>)
    candidateW3Extensions (array<float>)
    candidateW4Depths (array<float>)
    candidateW5Ratios (array<float>)
    candidateInvalidations (array<float>)
    candidateInvalidationTypes (array<string>)
    candidateMotiveTypes (array<string>)
    candidateExtensionTypes (array<string>)
    candidateDiagonalShapes (array<string>)
    candidateRule3Applicability (array<bool>)
    candidateTruncations (array<bool>)
    deadKeys (array<string>)
    pivotPrices (array<float>)
    pivotBars (array<int>)
    pivotIds (array<int>)
    candidateStarts (int)
    hasPendingPivot (bool)
    pendingPrice (float)
    pendingBar (int)
    allowDiagonals (bool)
    allowTruncation (bool)
    truncationMinPct (float)
    extensionThreshold (float)
    diagonalTolerance (float)
    invalidationMode (string)

selectCounts(candidateKeys, candidateBaseId0, candidateBaseId1, candidateDirections, candidateScores, currentPrimaryKey, currentPrimaryBaseId0, currentPrimaryBaseId1, currentPrimaryDirection, currentScoreAtSelection, switchMargin, minimumNewScore)
  Parameters:
    candidateKeys (array<string>)
    candidateBaseId0 (array<int>)
    candidateBaseId1 (array<int>)
    candidateDirections (array<int>)
    candidateScores (array<float>)
    currentPrimaryKey (string)
    currentPrimaryBaseId0 (int)
    currentPrimaryBaseId1 (int)
    currentPrimaryDirection (int)
    currentScoreAtSelection (float)
    switchMargin (float)
    minimumNewScore (float)

PrimaryValidation
  Fields:
    status (series int)
    lockedCount (series int)
    invalidation (series float)
    failure (series string)

SelectionResult
  Fields:
    primaryIndex (series int)
    alternateIndex (series int)
    primaryKey (series string)
    primaryBaseId0 (series int)
    primaryBaseId1 (series int)
    primaryDirection (series int)
    alternateKey (series string)
    alternateBaseId0 (series int)
    alternateBaseId1 (series int)
    alternateDirection (series int)
    primaryStarted (series bool)
    primaryRevised (series bool)
    primaryChanged (series bool)
    unsupportedPrevious (series bool)
    previousPrimaryKey (series string)
    eventMessage (series string)
    scoreAtSelection (series float)

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.