Who it is forA developer or quant who wants a market indicator that the built-in studies do not provide.
The problemOff-the-shelf indicators may not match the exact logic you want to test.
The outcomeA custom Tea indicator that evaluates as market data flows in, running inside OpenChart.
What you need first
- macOS on Apple Silicon for the packaged Desktop app, or Node.js 24, npm 11.11.1, Bun 1.4.2, and Just for a source build
- An account with your agent provider (Claude, Codex, or Gemini models) to power the agent features
- Optional: OpenChart Cloud market data, which is priced separately
- Git, for cloning the repository in the source build path
Steps
- Clone the repo with
git clone https://github.com/longsurf-ai/openchart.git, then runcd openchart. - Run
just install --frozen-lockfile, which also initializes and builds Tea. - Read the Tea compiler and runtime at https://github.com/longsurf-ai/tea and write your indicator with functions, loops, state, and collections.
- Run
just desktopand load the indicator on a chart to check how it evaluates as data arrives.
Prompt for your agent
In the openchart repo, write a Tea indicator that computes <your logic> on the <symbol> chart. Expected output: a Tea source file that compiles and draws the indicator on the chart. Verify by loading it with `just desktop` and checking the values against a few bars you calculate by hand.
Caveat. The README lists the Tea language features but does not document Tea syntax, so the Tea repo is the source of truth for writing indicators.
Get 5 new use cases every morning. Free, one short email, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page