PINE LIBRARY
Telah dikemas kini

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)
Nota Keluaran
v2
Nota Keluaran
v3

Added:
isBodyLessThanWicksPercent(o, h, l, c, pct)
  Parameters:
    o (float)
    h (float)
    l (float)
    c (float)
    pct (float)
Nota Keluaran
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)
Nota Keluaran
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)
Nota Keluaran
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)
Nota Keluaran
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)

Penafian

Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.