PINE LIBRARY
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
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
Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Xin tri ân tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo 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.
Thư viện Pine
Theo tinh thần TradingView thực sự, tác giả đã xuất bản mã Pine này dưới dạng thư viện nguồn mở để các lập trình viên Pine khác trong cộng đồng của chúng tôi có thể sử dụng lại. Xin tri ân tác giả! Bạn có thể sử dụng thư viện này riêng tư hoặc trong các bài đăng nguồn mở khác. Tuy nhiên, bạn cần sử dụng lại mã này theo 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.