> For the complete documentation index, see [llms.txt](https://custom-indicators.gitbook.io/custom-indicators-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://custom-indicators.gitbook.io/custom-indicators-docs/chart-plots.md). Agents can also search and read this documentation through its [MCP server](https://custom-indicators.gitbook.io/custom-indicators-docs/~gitbook/mcp).

# Chart Plots

STILL WORKING ON THIS!!

## Plots API <a href="#plots-api" id="plots-api"></a>

> **File:** `plots‑indicator.api.ts`\
> Draws series and shaded areas.

<table><thead><tr><th width="179">Method</th><th>Signature</th><th>Purpose</th></tr></thead><tbody><tr><td><a href="https://custom-indicators.gitbook.io/custom-indicators-docs/chart-plots/line.md"><code>line</code></a></td><td><code>plot.line(title, value, color, plottype?, histogramBase?, offset?, id?)</code></td><td>Continuous line</td></tr><tr><td><a href="https://custom-indicators.gitbook.io/custom-indicators-docs/chart-plots/filledarea.md"><code>filledArea</code></a></td><td><code>plot.filledArea(id, objATitle, objBTitle, title, color, transparency?, visible?, type?)</code></td><td>Shaded area</td></tr><tr><td><a href="https://custom-indicators.gitbook.io/custom-indicators-docs/chart-plots/colorer.md"><code>colorer</code></a></td><td><code>plot.colorer(title, value, plotTargetTitle, colors, id?)</code></td><td>Discrete coloring of another series</td></tr><tr><td><a href="https://custom-indicators.gitbook.io/custom-indicators-docs/chart-plots/barcolorer.md"><code>barColorer</code></a></td><td><p><code>plot.barColorer(title, value,</code></p><p> <code>colors, id?)</code></p></td><td>Colors candles based on a series</td></tr><tr><td><a href="https://custom-indicators.gitbook.io/custom-indicators-docs/chart-plots/shapes.md">shapes</a></td><td><code>plot.shapes(title, value, text, color, textColor, plottype, location, size, offset?, transparency?, id?)</code></td><td>Adds markers like arrows, circles, or labels on the chart.</td></tr></tbody></table>
