PINE LIBRARY
Cập nhật

GLLV_Helpers

479
Library "GLLV_Helpers"

buildAlertMsg(pineLic, ticker, risk, sl, tp, strategyCode)
  Parameters:
    pineLic (string)
    ticker (string)
    risk (float)
    sl (float)
    tp (float)
    strategyCode (string)

isRising(src, points, step)
  Parameters:
    src (float)
    points (int)
    step (int)

regimeOf(pip2, posLimit, negLimit)
  Parameters:
    pip2 (float)
    posLimit (float)
    negLimit (float)

calcMata(fast, mid, slow)
  Parameters:
    fast (float)
    mid (float)
    slow (float)

crossUpByColor(src, ema, pvsraColor, expectedColor)
  Parameters:
    src (float)
    ema (float)
    pvsraColor (color)
    expectedColor (color)

crossDownByColor(src, ema, pvsraColor, expectedColor)
  Parameters:
    src (float)
    ema (float)
    pvsraColor (color)
    expectedColor (color)

calcSlope(src, length, mult, method)
  Parameters:
    src (float)
    length (simple int)
    mult (float)
    method (string)

createDebugTable()

updateDebugTable(tbl, row, label, value)
  Parameters:
    tbl (table)
    row (int)
    label (string)
    value (string)
Phát hành các Ghi chú
v2
Phát hành các Ghi chú
v3

Added:
isBodyLessThanWicksPercent(o, h, l, c, pct)
  Parameters:
    o (float)
    h (float)
    l (float)
    c (float)
    pct (float)
Phát hành các Ghi chú
v4

Added:
isRisingFast(src, points, step)
  Parameters:
    src (float)
    points (int)
    step (int)

regimeCounts(pip2, posLimit, negLimit, lookback)
  Parameters:
    pip2 (float)
    posLimit (float)
    negLimit (float)
    lookback (int)
Phát hành các Ghi chú
v5

Added:
ma(src, length, type)
  Parameters:
    src (float)
    length (simple int)
    type (string)

directionColor(up, down, upColor, downColor, neutral)
  Parameters:
    up (bool)
    down (bool)
    upColor (color)
    downColor (color)
    neutral (color)

calcRsi(src, length, maType, maLen)
  Parameters:
    src (float)
    length (simple int)
    maType (string)
    maLen (simple int)

calcWillr(src, length, maType, maLen)
  Parameters:
    src (float)
    length (int)
    maType (string)
    maLen (simple int)
Phát hành các Ghi chú
v6

Updated:
buildAlertMsg(pineLic, action, ticker, risk, sl, tp, strategyCode)
  Parameters:
    pineLic (string)
    action (string)
    ticker (string)
    risk (float)
    sl (float)
    tp (float)
    strategyCode (string)

Removed:
ma(src, length, type)
Phát hành các Ghi chú
v7

Added:
buildAlertMsgtrl(pineLic, action, ticker, risk, sl, tp, trltrig, trldist, trlstep, strategyCode)
  Parameters:
    pineLic (string)
    action (string)
    ticker (string)
    risk (float)
    sl (float)
    tp (float)
    trltrig (float)
    trldist (float)
    trlstep (float)
    strategyCode (string)

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.