TradingView
Electrified
2022年12月31日早上1點44分

SignalBuilder 

Apple Inc.NASDAQ

描述

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.

發布通知

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

發布通知

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

發布通知

v7 Fixes to TableBuilder

發布通知

v8 exported utility functions for debugging.

發布通知

v9 Attempt to fix display function.

發布通知

v11 Added simple group add neg/pos functions.

發布通知

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

發布通知

v13 Fixed missing sign for small values.
評論
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.
更多