PINE LIBRARY
Updated

SharelineCore_Library

219
Library "SharelineCore_Library"

funding_premium(premiumSym, funding_period, plot_type, interest_rate, fundScale)
  Parameters:
    premiumSym (string)
    funding_period (string)
    plot_type (string)
    interest_rate (float)
    fundScale (float)

cvd_vwap_delta(spotSym, perpSym, normLen, resetCVD)
  Parameters:
    spotSym (string)
    perpSym (string)
    normLen (int)
    resetCVD (bool)

cvd_trend_norm(spotSymbol, perpSymbol, normLen, resetOnSession)
  Parameters:
    spotSymbol (string)
    perpSymbol (string)
    normLen (int)
    resetOnSession (bool)

trend_strength_engine(cvdSpot, cvdPerp)
  Parameters:
    cvdSpot (float)
    cvdPerp (float)

bias_engine(plot_value, spotTrendVal, perpTrendVal, spotStrength, perpStrength)
  Parameters:
    plot_value (float)
    spotTrendVal (float)
    perpTrendVal (float)
    spotStrength (float)
    perpStrength (float)

smc_engine(h, l, c, v, ms_len, bos_len, vol_filter, scale_factor, smooth_len, signal_len)
  Parameters:
    h (float)
    l (float)
    c (float)
    v (float)
    ms_len (int)
    bos_len (int)
    vol_filter (bool)
    scale_factor (float)
    smooth_len (simple int)
    signal_len (simple int)

momentum_engine(o, c, v, fast, slow, signal, rsiLen, normLen, smaShort, smaLong, wMacd, wRsi, wCvd, wVpi)
  Parameters:
    o (float)
    c (float)
    v (float)
    fast (simple int)
    slow (simple int)
    signal (simple int)
    rsiLen (simple int)
    normLen (int)
    smaShort (int)
    smaLong (int)
    wMacd (float)
    wRsi (float)
    wCvd (float)
    wVpi (float)

oi_engine(quotecur, useBinance, useBinance2, useBinance3, useBitmex, useBitmex2, useKraken, d_mult, strength1_mult, strength2_mult)
  Parameters:
    quotecur (string)
    useBinance (bool)
    useBinance2 (bool)
    useBinance3 (bool)
    useBitmex (bool)
    useBitmex2 (bool)
    useKraken (bool)
    d_mult (float)
    strength1_mult (float)
    strength2_mult (float)
Release Notes
v2

Added:
cvd_engine(spotSym, perpSym, resetCVD, normLen)
  Parameters:
    spotSym (string)
    perpSym (string)
    resetCVD (bool)
    normLen (int)
Release Notes
v3

Added:
h4_ema50_ema200(symbol)
  Parameters:
    symbol (string)
Release Notes
v4

Added:
vector_smc_state(o, h, l, c, v, vol_len, above_mult, climax_mult, sweep_len, reclaim_pct, abs_body_max, wick_min, push_body_min)
  Parameters:
    o (float)
    h (float)
    l (float)
    c (float)
    v (float)
    vol_len (int)
    above_mult (float)
    climax_mult (float)
    sweep_len (int)
    reclaim_pct (float)
    abs_body_max (float)
    wick_min (float)
    push_body_min (float)
Release Notes
v5
Release Notes
v6
Release Notes
v7
Release Notes
v8
Release Notes
v9
Release Notes
v10

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.