romaco_draw_pattern
Visualize detected chart patterns by drawing their geometry (necklines, trendlines, targets) directly on your chart. Uses deterministic math from candle data, never altering user drawings.
Instructions
Draw the GEOMETRY of a detected chart pattern on the user's browser chart: head & shoulders neckline + silhouette, double top/bottom extremes + trigger line, triangle border trendlines, flag polyline — plus faint dotted target/invalidation levels when the pattern projects them. Patterns are re-detected from the loaded candles (deterministic math, never agent-supplied geometry) and only RECENT patterns qualify — if none match, nothing is drawn and that is the honest answer. Each pattern family owns one drawing group, so re-drawing a family replaces it atomically and the user's own drawings are never touched. Offer this after romaco_detect_patterns or romaco_thesis finds something; call it ONLY after the user accepts. Requires mounted and candles loaded (romaco_load_candles), with the SAME symbol/range on the chart.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Pattern kind to draw. Omit to draw the highest-confidence recent pattern of any kind. | |
| rank | No | 0-based confidence rank among matching recent patterns (0 = strongest). Default 0. |