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)

Penafian

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.