PINE LIBRARY

Drawings_public

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

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

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

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

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

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

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

Pine脚本库

本着真正的TradingView精神,作者将此Pine代码发布为开源脚本库,以便我们社区的其他Pine程序员可以重复使用它。向作者致敬!您可以私下或在其它开源出版物中使用此脚本库,但在出版物中重复使用此代码受网站规则约束。

免责声明