TradingView
Electrified
31 de Dez de 2022 01:44

SignalBuilder 

Apple Inc.NASDAQ

Descrição

SignalBuilder
Utility for building a collection of signal values. Provides a default view for displaying signals.

  • Simplified API for aggregating signal values.
  • Flexible for use with indicators and strategies.


See the demo section for an example.

Notas de Lançamento

v2 'display' function now returns the TableBuilder.Table object to allow for after the fact customization.

Notas de Lançamento

v6 Rename SignalGroup to Group since when consumed from elsewhere it's redundant to prefix with Signal. Imported update TableBuilder.

Notas de Lançamento

v7 Fixes to TableBuilder

Notas de Lançamento

v8 exported utility functions for debugging.

Notas de Lançamento

v9 Attempt to fix display function.

Notas de Lançamento

v11 Added simple group add neg/pos functions.

Notas de Lançamento

v12 Added conditional add method to route to different signal groups depending on the sign of the signal.

Notas de Lançamento

v13 Fixed missing sign for small values.
Comentários
PckAlgo
how to change table size ?
Electrified
@PckAlgo, you mean width, or?
PckAlgo
Electrified
@PckAlgo, I think it's only determined by the text width.
So if you need it to be wider, give the labels more padding.
Less? Abbreviate.
PckAlgo
Grate Lib demo available but please can you add any script example how to use to better result.. thanks
Electrified
@pratik_Crypto_King, So unless there's a fix for it, there has been a bug with UDTs that doen't let you really use the display function.
I would start by copying the display function into your script, and then retooling it to work with the lib.

The simple answer is that adding groups allows you to display them.
Mais