price_chart
Get intraday price bars with RSI-9 and MACD indicators for a symbol, thinned to a set number of points for quick charting.
Instructions
Intraday bars for one symbol with RSI-9 and MACD(12,26,9), thinned to
at most points (default 120, max 400) evenly spaced samples — the last
bar is always one of them, and thinned_every says how many bars each
sample stands for. bar_count is the real number behind the samples.
Each sample is {t, o, h, l, c, v, rsi_9, macd, macd_signal}, oldest first;
the indicator fields are computed on the FULL series, not on the thinned
one, so they mean what they would on the chart. For daily history over
months or years use price_history.
IMPORTANT: check indicators_reliable before using the indicator values.
On a sparse feed an illiquid name's "1-minute" bars can be a handful of
prints stretched across days, which computes indicators that look normal
and mean nothing. coverage and median_gap_min say how real the series
is. When it is false, describe price only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | ||
| days | No | ||
| points | No | ||
| symbol | Yes |