Обновлено

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. Подробнее читайте в Условиях использования.