Cập nhật

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)
Phát hành các Ghi chú
v2

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.