Read the chart

read_chartReads onlySafe to repeat

The app reads the prices and the indicators on a chart.

Details#

Read the open chart: the latest price, at most the latest 50 bars, indicator values at the focus bar and the bar before it (only for studies on that layout; a missing study is omitted, not an error), and history_start / history_end for the whole loaded book. studies lists every copy on the layout as { id, type, inputs }. Each indicators row is { id, type, inputs, name, values: [{ time, value }] }; a multi-line study may be several rows with the same id, and at most 12 rows are returned. To read a study that is not on the layout, call list_indicators, then add_indicator, tell the member it was added to their chart, and call read_chart again. add_indicator always adds a new copy and returns its id. If the call is refused with feature_locked, tell the member and do not guess values. BullScript™ scripts on the layout come back in scripts as { id, type, inputs, name, status, values, tables } (values and tables only when status is ok; id is that copy's id; tables are the rows of cell text that script draws with that copy's saved inputs, as of the last candle, or the focus bar when bar is a date; at most 8 scripts computed per read; each computed run counts toward script runs, a cached one does not; a script that reads another indicator runs that indicator first and usage lists that run; locked, unpublished, unavailable, failed, rate_limited, busy or omitted say why there are no values). Cell text only, never the code. Dates in cells are kept. Caps: 60 computed cells and 20 raw price-like cells per script, 48 computed, 16 raw and 12 tables across the read; cells_omitted and tables_omitted count what was left out. If a table is switched off, table_hints says how to see it, for example Turn on "Show Info Table" in this indicator's Settings to see its table. Turn that input on with configure_indicator and that copy's id, then call read_chart again. This read does not change settings. The read never returns the full series: two bars, the focus bar and the one before it. usage reports the runs and the balances left. Pass bar as YYYY-MM-DD to read that one bar and the bar before it. Date-focused reads are limited to 20 per chart (this symbol and timeframe) per UTC day; over that the call is refused with history_read_limit. To analyse earlier history, run BullScript™ and compute over it. Example: symbol BTC/USDT, venue BINANCE, timeframe 1D.

Inputs#

NameTypeRequiredDescription
symbolstringOptionalTicker or pair, for example BTCUSDT or AAPL.
venuestringOptionalOptional venue, for example BINANCE, COINBASE, BITSTAMP or NASDAQ. BINANCE is Binance spot, not Binance futures.
timeframestringOptionalOne of 1H, 4H, 1D, 1W, 1M. Example: 1D.
layoutstringOptionalLayout name from list_layouts, or "Default" (the member's own chart). Omit to use the layout the member has open, or Default when no chart is open.
barstringOptionalOptional. latest, or a date like 2026-11-12. Date-focused reads are limited to 20 per chart per UTC day.