PINE LIBRARY

TableBuilder

已更新
Library "TableBuilder"
A helper library to make it simpler to create tables in pinescript

This is a simple table building library that I created because I personally feel that the built-in table building method is too verbose. It features chaining methods and variable arguments.

There are many features that are lacking because the implementation is early, and there may be antipatterns because I am not familiar with the runtime behavior like pinescript. If you have any comments on code improvements or features you want, please comment :D
版本注释
v2

Font, Align and Size features implemented in Row/Cell object

Width(this, width)
  Change the width of all cells in that row
  Parameters:
    this
    width
  Returns: Row

Height(this, height)
  Change the height of all cells in that row
  Parameters:
    this
    height
  Returns: Row

Font(this, text_font_family)
  Change the width of all cells in that row
  Parameters:
    this
    text_font_family
  Returns: Row

AlignH(this, halign)
  Change the horizontal align of all cells in that row
  Parameters:
    this
    halign
  Returns: Cell

AlignV(this, valign)
  Change the vertical of all cells in that row
  Parameters:
    this
    valign
  Returns: Cell

업데이트됨
Size(this, width, height)
  Change the width of all cells in that row
  Parameters:
    this
    width
    height
  Returns: Row
版本注释
More useful example code
displayformattinglibrarystatisticstable

Pine脚本库

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

免责声明