PINE LIBRARY
Aggiornato

PatternHelpers

131
Library "PatternHelpers"

method update(atr, h, l, c, period)
  Namespace types: WilderAtr
  Parameters:
    atr (WilderAtr)
    h (float)
    l (float)
    c (float)
    period (int)

method push(buf, o, h, l, c, t, idx, max_len)
  Namespace types: CandleBuffer
  Parameters:
    buf (CandleBuffer)
    o (float)
    h (float)
    l (float)
    c (float)
    t (int)
    idx (int)
    max_len (int)

method gap_candles(buf, prev_end_idx, next_start_idx)
  Namespace types: CandleBuffer
  Parameters:
    buf (CandleBuffer)
    prev_end_idx (int)
    next_start_idx (int)

quantile_rail(vals, upper)
  Parameters:
    vals (array<float>)
    upper (bool)

has_acceptable_coverage(values, upper_bounds, lower_bounds)
  Parameters:
    values (array<float>)
    upper_bounds (array<float>)
    lower_bounds (array<float>)

has_acceptable_coverage_const(values, upper, lower)
  Parameters:
    values (array<float>)
    upper (float)
    lower (float)

has_low_directional_drift(closes, upper, lower)
  Parameters:
    closes (array<float>)
    upper (float)
    lower (float)

has_balanced_rotation(values, shape_width)
  Parameters:
    values (array<float>)
    shape_width (float)

has_no_dominant_run(values, shape_width)
  Parameters:
    values (array<float>)
    shape_width (float)

ols_regression(y, x, origin_x)
  Parameters:
    y (array<float>)
    x (array<int>)
    origin_x (int)

residual_rail(highs_or_lows, indices, intercept, slope, origin_idx, upper)
  Parameters:
    highs_or_lows (array<float>)
    indices (array<int>)
    intercept (float)
    slope (float)
    origin_idx (int)
    upper (bool)

WilderAtr
  Fields:
    prev_close (series float)
    atr_val (series float)
    count (series int)

CandleBuffer
  Fields:
    opens (array<float>)
    highs (array<float>)
    lows (array<float>)
    closes (array<float>)
    times (array<int>)
    indices (array<int>)
    start_idx (series int)
Note di rilascio
deleted

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.