Analyze the market with expression

dxScript is a programming language for time-series processing. Modern marketing tools integrate dxScript to allow the users expressing themselves in the most flexible way when analyzing the market.

Knowledge Base

Learn more about the purpose and key features of dxScript language at our Knowledge Base.

​dxScript website

The technical language documentation and interactive playground can be found on the special minisite.

dxScript excels in ​technical analysis​​. The language allows formulating advanced technical indicators in a concise and easy to understand manner. Making use of a powerful standard library, users can compose complex indicators. Built-in access to time-series history, support for recursive definitions and automatic prefetch inference make dxScript a Swiss-army knife for market analysis.

Why dxScript?

Static type-safety

Helpful feedback before running any code

Type inference

No need to spell out types, only code that matters

Built-in records

Return more values and group data in-place

Default parameter values

No need to repeat industry standards every time

Transparent time-series

Any value can be a series with access to all the history

First-class functions

Parametrizing not only data but also behavior

RSI implementation with dxScript example

An example, of how dxScript can be used to implement a widely used Relative Strength Indicator (RSI):

fun RSI
    in x: number
    in n = 14
    in avg = &ema
    def change = x - x[1]
    def net = change.avg(n)
    def total = change.abs.avg(n)
    def ratio = if (total != 0) net / total else 0
    out = 50 * (ratio + 1)

dxFeed services

There are a number of dxFeed services that already bring dxScript into the hands of the users:

dxFeed Radar​​

Stock Scanner

Option Scanner

Alert Service