dxScript
Overview
dxScript is a JavaScript-based language for creating custom technical indicators and trading strategies using financial market data.
It provides built-in functions for technical analysis, supports historical and real-time data processing, and allows you to test your scripts against historical market data.
Before running a script, you can check it for errors using the Validator service.
For detailed technical information, including getting started guides, language reference, API documentation, and code examples, see the dxScript Docs. To write your first script, see Quick Start.
To get access to dxScript, contact your sales manager or use Contact Sales form on the website.
Indicators
dxScript allows you to create custom technical indicators to analyze financial market data.
You can calculate indicator values using built-in technical analysis functions, such as moving averages, RSI, and ATR, configure input parameters, and visualize results on charts. To stream indicator values to a chart in real time, use Real-time Indicator Streaming (IndiChart).
Related documentation:
Backtesting
dxScript supports testing custom indicators and trading strategies using historical market data.
The Backtesting service runs scripts against historical candles for a specified symbol and time range. It returns calculation results and, for trading strategies, trade reports and performance analytics.
Related documentation:
Real-time Indicator Streaming (IndiChart)
IndiChart is a dxScript platform service that streams candle data and indicator values in real time via dxLink.
The service first sends historical candles with calculated indicator values, then sends live updates as new data arrives.
Related documentation: