PINE LIBRARY

Drawings_public

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

Thông báo miễn trừ trách nhiệm

Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.