PINE LIBRARY

DeleteArrayType

█ OVERVIEW
Here are common functions usually delete drawing once array of drawing is recall.
Method is used as in pine script version 5 instead of custom function.
It is an upgrade from DeleteArrayObject, which may not support overload parameter in future.

Library "DeleteArrayType"
TODO: Delete array type especially for drawings

method deleteLabel(id)
  TODO: Delete array<label>
  Namespace types: array<label>
  Parameters:
    id (array<label>)
  Returns: TODO: label.delete()

method deleteLine(id)
  TODO: Delete array<line>
  Namespace types: array<line>
  Parameters:
    id (array<line>)
  Returns: TODO: line.delete()

method deleteLineFill(id)
  TODO: Delete array<linefill>
  Namespace types: array<linefill>
  Parameters:
    id (array<linefill>)
  Returns: TODO: linefill.delete()

method deletePolyLine(id)
  TODO: Delete array<polyline>
  Namespace types: array<polyline>
  Parameters:
    id (array<polyline>)
  Returns: TODO: polyline.delete()

method deleteBox(id)
  TODO: Delete array<box>
  Namespace types: array<box>
  Parameters:
    id (array<box>)
  Returns: TODO: box.delete()

method deleteTable(id)
  TODO: Delete array<table>
  Namespace types: array<table>
  Parameters:
    id (array<table>)
  Returns: TODO: table.delete()
arraysBOXlabelLINElinefillpolylinetable

Pine脚本库

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


更多:

免责声明