Interactive stock charts and natural-language drawing for DeepSeek Harness: K-line/candlestick charts for A-share, Hong Kong and US stocks and indices, multi-market quotes, technical analysis and indicators, manual drawing, ABC waves, trend channels, support/resistance, multi-symbol comparison overlays, news and fundamentals. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Install
# from npm (prebuilt)
dsh plugin --profile web add @ftshare-lab/dsh-kline
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:FTShare-Lab/dsh_kline
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Explore market data in DeepSeek Harness and Codex. Analyze, draw, and revise charts through natural language, or pick anchors on the chart yourself.
简体中文 · English
Drawing tools · ABC and channel examples · Drawing workbench · Market and comparison · Install · Documentation
Current GitHub release: v0.6.14. npm package: @ftshare-lab/dsh-kline. Drawings appear directly and remain when the controls are closed. Switch candidates, continue editing, or clear them yourself.
Installation and downloads · For DSH and Codex.
This update: website access and channel attribution
Open FtShare from the chart header, or sign in/register from connection settings to obtain an API key. The market page shows one source footer, with FtShare linked to its website. Website and promotion links carry channel and placement tags; counts do not represent installations. See attribution details.
Drawing interactions (since v0.6.12)
- Multiple drawings: request several tools in one sentence or select Multiple in the drawing panel, up to 8 per task. Qualifying results appear together; tools without a candidate are reported separately.
- Selection and editing: select ordinary geometry, drag an anchor, or enter a price under Edit. Natural-language requests can change just one named ABC point while preserving its object and other anchors.
- Undo and redo: use the toolbar,
⌘/Ctrl+Z, or⌘/Ctrl+Shift+Z. A drawing batch is one history step. Prices, indicators, and viewport are preserved; the latest 40 steps remain in this page session and do not survive a refresh. - Dates and visibility: tool results supply exchange-local dates, including US daylight-saving changes. DSH distinguishes time overlap from geometry inside, partly clipped, or outside the plot. Labels, occlusion, and actual pixels are not automatically verified.
DSH acceptance covered a qualifying four-point SLV ABC, a single-point edit and undo, plus QQQ multi-drawing and batch undo/redo. Codex shares the drawing rules and passed runtime and package checks; its App UI was not exercised in this round. See release acceptance.
Supported drawing tools
Chat and the chart panel use the same drawing capabilities. Automatic drawing uses the latest closed daily bars already loaded in the current chart and selects the newest qualifying candidate by default. You can also choose a candidate or specify dates and prices.
| Drawing tool | Automatic drawing | Manual anchors and natural-language control |
|---|---|---|
| Horizontal line | Find recent high/low pivot price candidates | Specify a price or select a candle; use it as support, resistance, or a custom level |
| Trend line | Find a qualifying recent two-anchor move | Specify two times and prices; create or adjust the segment |
| Parallel channel | Find recent channel candidates | Select three anchors; adjust boundaries and the optional midpoint |
| Range box | Find recent ranges meeting boundary-contact and drift rules | Select the interval and upper/lower boundaries; edit the name, color, and fill |
| Fibonacci retracement | Find anchors from recent swings | Specify endpoints and ratios; edit or remove the group together |
| ABC swing / wave labels | Find 0/A/B/C swing candidates meeting geometric rules | Pick anchors or have the host verify them before drawing; revise a named point |
| Double top | Identify the structure and its subsequent state | Supply structural anchors, subject to the same recognition rules |
| Double bottom | Identify the structure and its subsequent state | Supply structural anchors, subject to the same recognition rules |
| Head and shoulders top | Identify shoulders, head, and neckline | Supply five structural anchors and validate the pattern |
| Head and shoulders bottom | Identify the inverse structure and neckline | Supply five structural anchors and validate the pattern |
| Platform breakout / failure | Freeze range boundaries and mark pending, confirmed, or failed breakouts | Use a range box for a manually chosen interval; states come from price analysis |
| Nine Count | Display upward/downward 1–9 counts and update with chart data | Counts are calculated from prices; adjust the display range and style |
ABC candidates and labels are not a complete Elliott-wave recognizer. Price patterns and Nine Count currently support closed daily bars for A-share, Hong Kong, and US stocks. When no candidate qualifies, the tool explains that instead of forcing a drawing.
Indicators and additional annotations
- Indicator panel: SMA, EMA, VOL, MACD, KDJ, RSI, BOLL, ATR, and VWAP. Selected SMA/EMA/BOLL results can also be added as independent objects through the host.
- Chat-driven annotations: text, numbers, arrows, diamonds, and labeled polylines. Continue editing by object name or named point.
- Advanced tool interfaces: conditional price series, price bands, and conditional sticks. See function and drawing coverage for inputs, display behavior, and limits.
- Object management: create, select, drag ordinary geometry anchors, rename, recolor, delete, undo, and redo; multiple objects can coexist on one chart. The 201 TA-Lib functions support queries and calculations; only implemented drawing and indicator families can be put on the chart.
Natural-language drawing in action
Verify an ABC candidate, then draw its anchors
DeepSeek checks Wolong Electric's four 0/A/B/C anchors against daily candles before drawing through the plugin. The full capture preserves both the conversation and the visible result.
Continue by adding a descending channel
A follow-up request adds parallel channel boundaries after the host checks their anchors. The existing ABC labels remain on the same chart.
The two full captures above are from October 27, 2026 and retain the conversation and interface from that session. Click an image for its original resolution; current drawing controls are described below.
Example requests:
Draw ABC and a descending channel on the current daily chart; explain any tool without a qualifying candidate.
Change only point C of the selected ABC to 48, keeping its date and other anchors unchanged.
Undo that edit.
Open Wolong Electric's daily chart. Verify a recent ABC swing candidate and draw it if it qualifies.
Add a descending channel to the same chart, keeping the ABC labels.
Draw the newest qualifying double bottom and explain its current state.
Show Nine Count for the latest 30 closed daily bars.
Make “Key support” blue and move it to 30.8.
An analysis request returns analysis. An explicit drawing request puts the result on the chart. Specified anchors and candidate choices take priority.
Drawing workbench and price patterns
Open Draw → select a tool → Draw now. Choose Multiple to request several tools together. Use Pick anchors manually to select your own points and Settings to adjust parameters. Drawings appear directly, without a separate save step. Closing or collapsing the controls preserves them; Clear is inside the drawing panel.
Range formation, breakout, and failure states
MSFT daily example: the range forms from August 28 to September 25, with an upward breakout confirmed on October 6. The chart shows its boundaries and actual confirmation date; subsequent prices do not enlarge the frozen range.
Double tops/bottoms and head-and-shoulders patterns likewise show necklines and candidate, confirmation, or failure states. Nine Count displays individual counts; it does not include a full DeMARK 13 Countdown. See pattern rules.
Market overview and chart comparison
Put comparison lines in the main candlestick chart
Search for stocks, indices, or ETFs and overlay their price-performance lines behind the main chart. The primary symbol retains its candles and indicators. Hide or remove comparison lines independently.
Lines use a common normalization baseline to compare cumulative percentage changes. They do not compare raw prices across symbols or calculate technical indicators for the comparison lines.
Market overview
Browse major A-share, Hong Kong, and US indices, sector rankings, and unusual-trading lists. Select a symbol to continue in its chart and research panels.
The market, comparison, and MSFT platform captures preserve native Retina pixels as lossless PNGs. Prices are snapshots from capture time.
Levels, review, and research
| Feature | What it does |
|---|---|
| Support and resistance | Analyze reference prices in Levels, add custom levels, and draw them on the current chart |
| Interval review | Inspect interval returns and drawdown alongside the chart |
| News and company information | Read symbol news, company information, and research panels, subject to source coverage and permissions |
| Watchlists and groups | Save, group, sort, import, and open symbols in batches; DSH retains these across conversations |
Install
Supports macOS, Linux, and native Windows. First launch downloads dependencies and may take several minutes.
DeepSeek Harness
Install a working DSH Web host and Python 3.11+, then run:
dsh plugin --profile web add @ftshare-lab/dsh-kline@0.6.14
GitHub installation is also available:
dsh plugin --profile web add github:FTShare-Lab/dsh_kline
You can also find dsh_kline in the plugin marketplace. Its version and download information depend on catalog synchronization. See the npm package for the published version; downloads are not unique installations.
After enabling it, click K or request analysis in chat. Newer DSH versions provide native right-sidebar tabs without Better Sidebar. Choose UI → Workspace tab, or continue using the classic K sidebar. v0.6.10's native auto-open was tested on DSH 0.2.1-rc.5, a prerelease host.
Codex
Install a plugin-capable Codex, Git, Node.js 22.19+, and Python 3.11+:
codex plugin marketplace add FTShare-Lab/dsh_kline --ref main
codex plugin add ft-kline@ftshare
Reopen Codex and ask “Open China Merchants Bank's daily chart.” FTShare is this project's public GitHub plugin source.
| Host | Interactive chart and manual drawing | Chat-driven drawing | Quotes and structured analysis |
|---|---|---|---|
| DSH Web | Yes | Yes | Yes |
| Codex Desktop | Inside an App card | Yes | Yes |
| Codex CLI | No canvas | No chart writes | Yes |
See the complete guide for pinned archives, updates, migration, and startup troubleshooting.
Data and scope
- Sources: Get a free FTShare key, or open the website from “FtShare” in the chart header. Under Settings → FTShare configuration, sign in or register, obtain a key, then paste it and test the connection. Without a key, selected A-share, Hong Kong, US, and index historical daily sources may be available; coverage depends on the public provider.
- Permissions and periods: minute bars, news, and company information depend on the source and permissions. Automatic drawing, patterns, and Nine Count currently use loaded, closed daily bars for A-share, Hong Kong, and US stocks.
- Editing: drawings use real candles in the current chart. Unknown sources, expired results, or ambiguous active views stop edits with an explanation. Ordinary geometry supports selection, dragging, and undo. Recognized patterns, Nine Count, and calculated series retain their computed structure and do not expose arbitrary anchor dragging.
- Retention: DSH watchlists and groups persist across conversations. Codex charts, watchlists, and temporary App keys remain in the current connection's memory and do not inherit DSH settings. Drawing recovery across service restarts is not guaranteed.
Market data may be delayed. Patterns and counts support research and review, without guaranteed trading returns. See key-less coverage and free Hong Kong/US daily sources.
Documentation
| Topic | Link |
|---|---|
| Install, updates, keys, troubleshooting | Complete guide |
| Automatic drawing and extension | Shared drawing architecture |
| Pattern definitions and real samples | Rules · Samples |
| Technical functions and advanced annotations | Function and drawing coverage |
| Host and provider integration | Embedding · Provider adaptation |
| Website links and attribution | UTM details |
| Releases and acceptance | Changelog · v0.6.14 release notes · Acceptance |
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38466
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37249
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 28879
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 9925
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6075
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4723
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.






Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.