PINE LIBRARY

Drawings_public

292
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)

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。