Early access
TradeCanvas Pro
Formulas, market scans, pattern statistics, strategy optimisation and Pine scripts, for apps built on TradeCanvas.
I build Pro on top of the open-source chart. Version 0.7.0 is out and works with TradeCanvas 3.x. I’m looking for the first three to five teams to use it in a real product, and early access is free for them.
What Pro adds
Formulas and market scans
- Write indicators and conditions the way price-board users write them.
- Pro reads and evaluates a formula; it never runs it as code.
- A formula becomes an indicator you add to a chart.
scanandscanAsyncrun a condition over a whole market, such as the about 1,600 symbols of HOSE, HNX and UPCoM, and rank the hits.- Limits keep a formula your users write from hanging or crashing your app: a work budget, and caps on length, nesting and terms.
- A formula can read any of the library’s 138 built-in indicators through
ind().
crossup(ema(c, 12), ema(c, 26)) and rsi(14) < 70 ind("macd", "signal", fast: 8)Candlestick patterns, weighed
scoreCandlePatternsgives each of the 64 patterns the library detects a strength from 0 to 1, from four factors: trend, size, volume and location. It also says whether the next bar confirmed the pattern.candlePatternStatsreports what price did N bars after each pattern, against a baseline of all bars.- Both are formula functions too:
pattern()andpatternscore(). - Pro ships JSON Schemas for them, so an AI tool can call these functions.
These numbers describe past bars. They are not a forecast.
Strategy optimisation
optimizeStrategyruns a grid of a strategy’s parameters on the library’s backtester and ranks the runs by Sharpe, Sortino, Calmar and other measures.- Runs with too few trades are skipped.
- It reports how robust a result is by looking at the neighbouring parameter values.
walkForwardchecks the choice on bars it never trained on.
Pine scripts and an editor
- Pro compiles Pine scripts, v3 to v6, and runs them on the chart in a worker. Scripts in v3 and v4 are upgraded automatically.
ScriptStudiois the editor: completion, help, and errors at their line.- Supported: user types and methods, maps, matrices,
request.securityon the chart’s own symbol at higher intervals, tables, polylines and linefills. - Most scripts run. A feature Pro does not support is reported at its line.
Pro on a chart

ema(c, 20) on the price, and an EMA spread with its signal line in a pane.
ScriptStudio marks a function Pine does not have at its line. The chart keeps the last version that ran.Simulated data.
What stays MIT
- Every indicator, chart type and chart feature stays MIT-licensed in the @tradecanvas packages.
- Pro is only the extra parts on this page: formulas and scans, pattern analysis, optimisation and Pine.
- Nothing already released under MIT moves to Pro.
Pro is under a commercial licence. The terms come with access.
For your IT review
- Formulas are evaluated without running code; Pine runs in a worker.
- Pro 0.7.0 works with TradeCanvas 3.x.
- A commercial licence; terms come with access.
Early access, free for the first partners
I’m looking for three to five teams building a trading product on TradeCanvas. Send me a short note about:
- Your product and who uses it
- Which parts of Pro you need
- Your market and data source
- Your timeline
I work in English and Vietnamese, on UTC+7.