PINE LIBRARY

Drawings_public

125
Library "Drawings_public"
: Functions to manage drawings on the chart

extend_line(lineId, labelId)
  : Extend specific line with its label
  Parameters:
    lineId (line)
    labelId (label)

update_line_coordinates(lineId, labelId, x1, y1, x2, y2)
  : Update specific line coordinates with its label
  Parameters:
    lineId (line)
    labelId (label)
    x1 (int)
    y1 (float)
    x2 (int)
    y2 (float)

update_label_coordinates(labelId, value)
  : Update coordinates of a label
  Parameters:
    labelId (label)
    value (float)

delete_line(lineId, labelId)
  : Delete specific line with its label
  Parameters:
    lineId (line)
    labelId (label)

update_box_coordinates(boxId, labelId, left, top, right, bottom)
  : Update specific box coordinates with its label
  Parameters:
    boxId (box)
    labelId (label)
    left (int)
    top (float)
    right (int)
    bottom (float)

delete_box(boxId, labelId)
  : Delete specific box with its label
  Parameters:
    boxId (box)
    labelId (label)

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.