dxScript
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.
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?
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: