ironpark

TableBuilder

ironpark Updated   
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
Release Notes:
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
Release Notes:
More useful example code
Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House Rules.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this library?

Copy the following line and paste it in your script.