Mis à jour

NQSniperPathCorePublic

625
Library "NQSniperPathCorePublic"
Public-safe NQ Sniper path/reaction utilities.
Generic state-machine helpers only: obstacle reaction, draw reaction,
ordered next-obstacle selection, and narrative text.
No proprietary candidate discovery, entry logic, scoring, stops, or automation.

obstacleReaction(enabled, delivery, pTop, pBottom, pMid, pType, oTop, oBottom, oMid, oType, oDelivery, oState, bullDisp, bearDisp)
  Updates the active obstacle-reaction state.
  Parameters:
    enabled (bool)
    delivery (int)
    pTop (float)
    pBottom (float)
    pMid (float)
    pType (string)
    oTop (float)
    oBottom (float)
    oMid (float)
    oType (string)
    oDelivery (int)
    oState (int)
    bullDisp (bool)
    bearDisp (bool)

drawReaction(enabled, delivery, selectedDraw, oldPrice, oldDelivery, oldState, bullDisp, bearDisp, mergePoints)
  Updates primary draw reaction state and lock lifecycle.
  Parameters:
    enabled (bool)
    delivery (int)
    selectedDraw (float)
    oldPrice (float)
    oldDelivery (int)
    oldState (int)
    bullDisp (bool)
    bearDisp (bool)
    mergePoints (simple float)

nextPathObstacle(delivery, currentMid, primaryDraw, c1, t1, c2, t2, mergePoints)
  Selects the next obstacle farther along the current path, never behind CURRENT or beyond PRIMARY.
  Parameters:
    delivery (int)
    currentMid (float)
    primaryDraw (float)
    c1 (float)
    t1 (string)
    c2 (float)
    t2 (string)
    mergePoints (simple float)

pathStateName(state)
  Converts path state to a compact diagnostic label.
  Parameters:
    state (int)

narrative(delivery, drawState, obstacleState, primaryPrice)
  Builds the generic narrative string used by the debugger.
delivery: 1 bullish, -1 bearish, 0 neutral.
  Parameters:
    delivery (int)
    drawState (int)
    obstacleState (int)
    primaryPrice (float)
Notes de version
v2

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.