PINE LIBRARY
Updated

pbkr_common

220
Library "pbkr_common"

f_clamp(v, lo, hi)
  Parameters:
    v (float)
    lo (float)
    hi (float)

f_roc(src, len)
  Parameters:
    src (float)
    len (int)

f_dcr(h, l, c)
  Parameters:
    h (float)
    l (float)
    c (float)

f_tick(p)
  Parameters:
    p (float)

f_round_up(p)
  Parameters:
    p (float)

f_round_down(p)
  Parameters:
    p (float)

f_nzmax(a, b)
  Parameters:
    a (float)
    b (float)

f_best_support(entry, a, b, c, d, e)
  Parameters:
    entry (float)
    a (float)
    b (float)
    c (float)
    d (float)
    e (float)

f_ma_pack()

f_launch_conv(sma10, ema21, sma50, sma200, ref_price)
  Parameters:
    sma10 (float)
    ema21 (float)
    sma50 (float)
    sma200 (float)
    ref_price (float)

f_vol_pack()

f_vol_dryup(vol10, vol50, mult)
  Parameters:
    vol10 (float)
    vol50 (float)
    mult (float)

f_hv1(vol, vol50, mult)
  Parameters:
    vol (float)
    vol50 (float)
    mult (float)

f_pocket_pivot_vol(lookback)
  Parameters:
    lookback (simple int)

f_adr20()

f_tight_range(short_n, long_n, ratio)
  Parameters:
    short_n (int)
    long_n (int)
    ratio (float)

f_high_low_pack()

f_phase_code(lookback)
  Parameters:
    lookback (int)

f_phase_txt(phase)
  Parameters:
    phase (int)

f_px(v)
  Parameters:
    v (float)

f_pct(v)
  Parameters:
    v (float)

MAPack
  Fields:
    sma10 (series float)
    ema21 (series float)
    sma50 (series float)
    sma150 (series float)
    sma200 (series float)

VolPack
  Fields:
    vol50 (series float)
    vol10 (series float)
    vol5 (series float)
    rvol (series float)
    run_rate (series float)

HighLowPack
  Fields:
    hh52 (series float)
    ll52 (series float)
    off_52h_pct (series float)
    off_52l_pct (series float)
Release Notes
v2

업데이트됨
f_roc(src, len)
  Parameters:
    src (float)
    len (simple int)

f_tight_range(short_n, long_n, ratio)
  Parameters:
    short_n (simple int)
    long_n (simple int)
    ratio (float)

f_phase_code(lookback)
  Parameters:
    lookback (simple int)
Release Notes
v3
Release Notes
v4
Release Notes
v5

업데이트됨
f_roc(src, len)
  Parameters:
    src (float)
    len (int)

f_tight_range(short_n, long_n, ratio)
  Parameters:
    short_n (int)
    long_n (int)
    ratio (float)

f_phase_code(lookback)
  Parameters:
    lookback (int)
Release Notes
v6

더해짐
f_launch_conv_core(sma10, ema21, sma50, ref_price)
  Parameters:
    sma10 (float)
    ema21 (float)
    sma50 (float)
    ref_price (float)

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.