Exciting Update: Version 1.0.1 is now available, introducing the high-performance BacktestX Custom Script Editor. Read more

BacktestX Script Editor 1.0.1

API Documentation & Guides

Write custom technical indicators, build signals, trigger automated alerts, and paint directly on the charting canvas using client-side JavaScript. No compilation delays, full ES2020 features, and pixel-perfect 2D rendering wrappers.

Get started Launch Script Editor
BacktestX Script Engine

Getting started

Learn how to launch the editor, handle script states, and run indicators overlaying the chart canvas.

API Reference

Full documentation for properties and methods on `ctx` (bars, bounds, indicators, canvas render tools).

Tutorials & Demos

Copyable code presets for EMA crossovers, RSI signals, dynamic support zones, and metrics tables.

Pine Script Transpiler

Convert indicators from Pine Script directly into optimized BacktestX Canvas JavaScript.