YeScript

Write indicators and backtest strategies on the same perpetual OHLCV stream Hyper Charts already loads — editor, Strategy Tester, script library and community publishing in one docked workspace.

Hyper Charts with the YeScript editor dock open
3 script types strategy · indicator · library
Dual runtime browser VM backtest + server-run on live bars
Cloud + .yes account sync, import/export, fork lineage

Chart-native workspace

Code, run and inspect backtests inside the same chart pane with the same loaded OHLCV bars.

YeScript editor and Strategy Tester beside a live chart

Review-first AI assist

Tradeiz AI proposes YeScript as diffs you review before any run, so control always stays with you.

Tradeiz AI proposing a reviewable YeScript diff

Community feedback loop

Publish with backtest snapshots, fork good ideas, and keep improving scripts with visible lineage.

YeScript community library inside Hyper Charts

Start in 3 steps

  1. Open Hyper Charts and click YeScript on the toolbar.
  2. Pick a template or start from scratch.
  3. Run Check, then Run to backtest a strategy.

Script types

Pick a script type by intent: strategies generate trades, indicators draw context, and libraries package reusable logic for teams.

strategy()

Simulated orders via trade.open_long / trade.open_short / trade.close_all. Browser backtest + optional server-run.

indicator()

plot(), hline(), plotshape() on overlay or dedicated sub-panes — same pane rules as built-in studies.

library()

Shared fn definitions — imported into other tabs with library("name"), never mounted on the chart directly.

Ready to build?

Open Hyper Charts or read the language reference for syntax details.