TradingView
Electrified
31 déc. 2022 01:44

SignalBuilder 

Apple Inc.NASDAQ

Description

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.

Notes de version

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

Notes de version

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

Notes de version

v7 Fixes to TableBuilder

Notes de version

v8 exported utility functions for debugging.

Notes de version

v9 Attempt to fix display function.

Notes de version

v11 Added simple group add neg/pos functions.

Notes de version

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

Notes de version

v13 Fixed missing sign for small values.
Commentaires
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.
Plus