Quant ScriptTM is the engine that drives the scripting language in your S-Trader trading software. It is a non-procedural scientific vector programming language that was designed specifically for developing trading systems. A script is simply a set of instructions that tell the Quant ScriptTM engine to do something you deem useful, such as provide an alert when the price of one stock reaches a new high, crosses over a moving average, or drops by a certain percentage. There are many uses.

Quant ScriptTM is a powerful and versatile programming language for traders. The language provides the framework required to build sophisticated trading programs piece by piece without extensive training or programming experience. Not only can the Quant ScriptTM syntax be mastered with almost no learning curve, the S-Trader application also allows you to create scripts using a versatile Quant ScriptTM Wizard.

Just as a spoken language gives you many ways to express each idea, the Quant ScriptTM programming language provides a wide variety of ways to program a trading system. Scripts can be very simple or extremely complex, consisting of many hundreds of lines of instructions. For most systems, individual scripts usually consist of just a few lines of code. Scripts can be further combined and utilized in unique ways using the existing S-Trader infrastructure to create the most powerful trading systems or trade supporting elements you can imagine. 

The syntax structures used inside the Quant ScriptTM language fall in one of the following categories:

Primitive functions & operators
Math functions
Built-in technical and statistical functions
Built-in fundamental analysis functions
  • Logical operator primitives
  • Extremes primitives
  • Summation primitives
  • Trend primitives
  • Algebraic functions
  • Trigonometric functions
  • comparison operators
  • Logical operators
  • Mathematical operators
  • Moving averages
  • Envelopes
  • Oscillators - price
  • Oscillators – money flow
  • Trend indicators
  • Volatility indicators
  • Statistical indicators
  • SVA Equity valuation analysis functions