RicardoSantos

FunctionGeometricLineDrawings

Library "FunctionGeometricLineDrawings"

array_delete_all_lines(lines) deletes all lines in array.
  Parameters:
    lines: line array, array with line objects to delete.
  Returns: void.

triangle(sample_x, sample_y, xloc, extend, color, style, width) Draw a Triangle with 3 vector2D(x, y) coordinates.
  Parameters:
    sample_x: int array, triangle sample data X coordinate values.
    sample_y: float array, triangle sample data Y coordinate values.
    xloc: string, defaultoptions=xloc.bar_index, xloc.bar_time.
    extend: string, default=extend.none, options=(extend.none, extend.right, extend.left, extend.both).
    color: color, default=
    style: options line.style_solid, line.style_dotted, line.style_dashed, line.style_arrow_left, line.style_arrow_right, line.style_arrow_both
    width: width in pixels.
  Returns: line array

trapezoid(sample_x, sample_y, xloc, extend, color, style, width) Draw a Trapezoid with 4 vector2D(x, y) coordinates:
  Parameters:
    sample_x: int array, trapezoid sample data X coordinate values.
    sample_y: float array, trapezoid sample data Y coordinate values.
    xloc: string, defaultoptions=xloc.bar_index, xloc.bar_time.
    extend: string, default=extend.none, options=(extend.none, extend.right, extend.left, extend.both).
    color: color, default=
    style: options line.style_solid, line.style_dotted, line.style_dashed, line.style_arrow_left, line.style_arrow_right, line.style_arrow_both
    width: width in pixels.
  Returns: line array
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.