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
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
Pine脚本库
本着真正的TradingView精神,作者将此Pine代码发布为开源库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私密或在其他开源出版物中使用此库,但在出版物中重复使用此代码受网站规则约束。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。