cryptofnq

HelperFunctions

cryptofnq Cập nhật   
Library "HelperFunctions"
A collection of my most used functions

apply_smoothing()
Apply one of Pine Script's built-in smoothing functions to a series
Phát hành các Ghi chú:
v2

Added:
create_basic_oscillator()

create_simple_oscillator()

create_single_oscillator()

create_dual_oscillator()

Updated:
apply_smoothing()
Phát hành các Ghi chú:
v3

Updated:
apply_smoothing(method, source, length)
  Apply a built-in smoothing function to a series.
  Parameters:
    method: string One of
    source: series The series to smooth
    length: int The number of bars to use for the smoothing function
  Returns: A smoothed series based on the input source

create_simple_oscillator(method, length)
  Create a simple oscillator from a series.
  Parameters:
    method: string One of
    length: int The number of bars to use in oscillator calculation
  Returns: A series which oscillates around zero

create_single_oscillator(method, source, length)
  Create a single length oscillator from a series.
  Parameters:
    method: string One of
    source: series The series on which to base the oscillator
    length: int The number of bars to use in oscillator calculation
  Returns: A series which oscillates around zero
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.