ironpark

TableBuilder

ironpark Telah dikemas kini   
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
Nota Keluaran:
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
Nota Keluaran:
More useful example code
Perpustakaan Pine

Di dalam semangat sebenar TradingView, pengarang telah menerbitkan kod Pine ini sebagai perpustakaan sumber terbuka, jadi pengaturcara-pengaturcara Pine yang lain dari komuniti kami boleh menggunakannya semula. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara peribadi atau pada penerbitan-penerbitan sumber terbuka lain, tetapi penggunaan semula kod ini di dalam penerbitan adalah ditadbir oleh Peraturan Dalaman.

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.

Mahu gunakan perpustakaan ini?

Salin garisan ini dan tampalkan ia di dalam skrip anda.