已更新

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)
發行說明
v2

免責聲明

這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。