tv_get_study_values
Fetch plotted values for a study from the most recent bars using its ID or name. Optionally include decorative plots for complete data.
Instructions
Read the plotted values of one study for the most recent bars (newest last). Read-only. Accepts a study id or a case-insensitive part of its name. Each row is keyed by plot title (e.g. "Buy", "Sell", "Plot (plot_8)"); colour/fill plots are dropped unless include_decoration=true. Built-in studies such as Volume have no series and return the formatted data-window strings instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | how many most-recent bars; default 1, max 500 | |
| study | Yes | study id (e.g. "P6SYjF") or part of its name | |
| layout | No | chart layout id or index; default active | |
| expect_layout | No | layout id the tab is expected to show right now; the call refuses if it differs (a tab keeps its target id when the user opens another layout in it) | |
| include_decoration | No | also return colorer / fill plots (packed colour ints); default false |