Library "lib_plot_composite_objects" library building on top of lib_plot_objects for composite objects such as Triangles and Polygons. heavily using chart.points
method create_triangle(this, b, c, args) Namespace types: chart.point Parameters: this (chart.point) b (chart.point) c (chart.point) args (LineArgs type from robbatt/lib_plot_objects/32)
method create_triangle(this, c) Namespace types: D.Line Parameters: this (Line type from robbatt/lib_plot_objects/32) c (chart.point)
method create_polygon(points, args) Namespace types: chart.point[] Parameters: points (chart.point[]) args (LineArgs type from robbatt/lib_plot_objects/32)
method create_polygon(start, others, args) Namespace types: chart.point Parameters: start (chart.point) others (chart.point[]) args (LineArgs type from robbatt/lib_plot_objects/32)
method delete(this) Namespace types: Triangle Parameters: this (Triangle)
method delete(this) Namespace types: TriangleFill Parameters: this (TriangleFill)
method delete(this) Namespace types: Polygon Parameters: this (Polygon)
method delete(this) Namespace types: PolygonFill Parameters: this (PolygonFill)
method delete(this) Namespace types: Triangle[] Parameters: this (Triangle[])
method delete(this) Namespace types: TriangleFill[] Parameters: this (TriangleFill[])
method delete(this) Namespace types: Polygon[] Parameters: this (Polygon[])
method delete(this) Namespace types: PolygonFill[] Parameters: this (PolygonFill[])
method draw(this, ab_args_override, ac_args_override, bc_args_override) Namespace types: Triangle Parameters: this (Triangle) ab_args_override (LineArgs type from robbatt/lib_plot_objects/32) ac_args_override (LineArgs type from robbatt/lib_plot_objects/32) bc_args_override (LineArgs type from robbatt/lib_plot_objects/32)
method draw(this) Namespace types: Polygon Parameters: this (Polygon)
method draw(this) Namespace types: TriangleFill Parameters: this (TriangleFill)
method draw(this) Namespace types: PolygonFill Parameters: this (PolygonFill)
method draw(this) Namespace types: Triangle[] Parameters: this (Triangle[])
method draw(this) Namespace types: TriangleFill[] Parameters: this (TriangleFill[])
method draw(this) Namespace types: Polygon[] Parameters: this (Polygon[])
method draw(this) Namespace types: PolygonFill[] Parameters: this (PolygonFill[])
method apply_style(this, args) Namespace types: Triangle Parameters: this (Triangle) args (LineArgs type from robbatt/lib_plot_objects/32)
method apply_style(this, args) Namespace types: Polygon Parameters: this (Polygon) args (LineArgs type from robbatt/lib_plot_objects/32)
method apply_style(this, args) Namespace types: Triangle[] Parameters: this (Triangle[]) args (LineArgs type from robbatt/lib_plot_objects/32)
method apply_style(this, args) Namespace types: Polygon[] Parameters: this (Polygon[]) args (LineArgs type from robbatt/lib_plot_objects/32)
Triangle Fields: a (chart.point): first Corner b (chart.point): second Corner c (chart.point): third Corner args (LineArgs type from robbatt/lib_plot_objects/32): Wrapper for reusable arguments for line.new() ab (Line type from robbatt/lib_plot_objects/32) ac (Line type from robbatt/lib_plot_objects/32) bc (Line type from robbatt/lib_plot_objects/32)
TriangleFill Fields: triangle (Triangle): The Triangle object plot (LineFill type from robbatt/lib_plot_objects/32): The linefill object to be added and plotted via draw()
Polygon Fields: points (chart.point[]): array of points that make up the Polygon center (chart.point): Center point of the Polygon, can be used for a label and will be center for PolygonFill args (LineArgs type from robbatt/lib_plot_objects/32): Wrapper for reusable arguments for line.new() plot (Line[] type from robbatt/lib_plot_objects/32): An array of Lines that form Polygon Border
PolygonFill Fields: poly (Polygon): the Polygon fill_color (series color): The color used to fill the space between the lines. plot (TriangleFill[])
Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai satu perpustakaan sumber terbuka supaya pengaturcara Pine lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara peribadi atau dalam penerbitan sumber terbuka lain, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman.
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.