PINE LIBRARY
Aggiornato

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)
Note di rilascio
v2
Note di rilascio
v3

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

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.