QuantraSystems

DynamicFunctions

Library "DynamicFunctions"
Custom Dynamic functions that allow an adaptive calculation beginning from the first bar

RoC(src, period)
  Dynamic RoC
  Parameters:
    src (float): and period
Custom function to calculate the actual period considering non-na source values
    period (int)

dynamicMedian(src, length)
  Dynamic Median
  Parameters:
    src (float): and length
    length (int)

kernelRegression(src, bandwidth, kernel_type)
  Dynamic Kernel Regression Calculation \n Uses either of the following inputs for kernel_type:\nEpanechnikov\nLogistic\nWave
  Parameters:
    src (float)
    bandwidth (int)
    kernel_type (string)

waveCalculation(source, bandwidth, width)
  Use together with kernelRegression function to get chart applicable band
  Parameters:
    source (float)
    bandwidth (int)
    width (float)

Rsi(src, length)
  Dynamic RSI function
  Parameters:
    src (float)
    length (int)

dynamicStdev(src, period)
  Dynamic SD function
  Parameters:
    src (float)
    period (int)

stdv_bands(src, length, mult)
  Dynamic SD Bands
  Parameters:
    src (float)
    length (int)
    mult (float)
  Returns: Basis, Positive SD, Negative SD

Adx(dilen, adxlen)
  Dynamic ADX
  Parameters:
    dilen (int)
    adxlen (int)
  Returns: adx

Atr(length)
  Dynamic ATR
  Parameters:
    length (int)
  Returns: ATR

Macd(source, fastLength, slowLength, signalSmoothing)
  Dynamic MACD
  Parameters:
    source (float)
    fastLength (int)
    slowLength (int)
    signalSmoothing (int)
  Returns: macdLine, signalLine, histogram

No statements or claims aim to be financial advice,
neither are any signals from us or our indicators.


Want to learn Trading, Investing or system building?
Join the Community! 👇

discord.gg/FMZDM3bZ9T
Thư viện Pine

Với tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này như một thư viện mã nguồn mở để các lập trình viên Pine khác từ cộng đồng của chúng tôi có thể sử dụng lại nó. Chúc mừng tác giả! Bạn có thể sử dụng thư viện này một cách riêng tư hoặc trong các ấn phẩm mã nguồn mở khác, nhưng việc sử dụng lại mã này trong một ấn phẩm chịu sự điều chỉnh của Nội quy chung.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.

Bạn muốn sử dụng thư viện này?

Sao chép văn bản vào khay nhớ tạm và dán nó vào tập lệnh của bạn.