Documentation Index
Fetch the complete documentation index at: https://docs.darvas.app/llms.txt
Use this file to discover all available pages before exploring further.
Signature
Marker is a persistent keyed icon entity. It differs from plot(..., { style: "circles" }) - plot circles are per-bar time-series values; a Marker is a static annotation that you explicitly create and manage.
Quick example
Options
X coordinate as a bar index.
Y coordinate as a price level.
Icon shape. One of:
"circle", "square", "triangle_up", "triangle_down", "diamond", "cross", "x", "arrow_up", "arrow_down".Size in pixels. Default:
8.0.Marker color as
#RRGGBBAA.Stacking order. Default:
0.Render in main price pane from a sub-pane indicator. Default:
false.Shape enum values
| Value | Appearance |
|---|---|
"circle" | Filled circle |
"square" | Filled square |
"triangle_up" | Triangle pointing up |
"triangle_down" | Triangle pointing down |
"diamond" | Diamond / rhombus |
"cross" | Plus sign (+) |
"x" | X shape |
"arrow_up" | Arrow pointing up |
"arrow_down" | Arrow pointing down |
shape.* constants:
Handle methods
Marker vs plot circles
Marker (persistent entity) and plot(..., { style: "circles" }) (per-bar time-series) look similar but behave differently. Use Marker for manual annotations anchored to a specific historical bar. Use plot circles when you want a computed value at every bar evaluated by onBar.Signal annotation example
Related pages
Label
Text annotations at a point.
Plot styles
circles and arrowup/arrowdown plot styles for per-bar markers.
Constants
shape.* enum values.