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
Bibliothèque Pine

Dans le véritable esprit de TradingView, l'auteur a publié ce code Pine en tant que bibliothèque open-source afin que d'autres programmeurs Pine de notre communauté puissent le réutiliser. Bravo à l'auteur ! Vous pouvez utiliser cette bibliothèque à titre privé ou dans d'autres publications open-source, mais la réutilisation de ce code dans une publication est régie par notre Règlement.

Clause de non-responsabilité

Les informations et les publications ne sont pas destinées à être, et ne constituent pas, des conseils ou des recommandations en matière de finance, d'investissement, de trading ou d'autres types de conseils fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.

Vous voulez utiliser cette bibliothèque?

Copiez le texte dans le presse-papiers et collez-le dans votre script.