TestimonialsAbout UsContact Us
ProductsServicesTechnical SupportBuy Online


TradeScript 2006 - Back Testing, Alert, and Formula Output Engine

Introducing TradeScript™, a powerful new versatile programming language for traders that provides the framework to build trading systems without any prior programming experience.

TradeScript™ is a non-procedural scientific vector programming language that allows traders to develop trading systems as rapidly and effortlessly as possible.

With TradeScript™ you can enable your trading application to run trading scripts. A script is simply a set of instructions that tell the scripting engine to do something useful, such as provide an alert when the price of a security (stock, futures, ETF or forex) reaches a new high, crosses over a moving average, or drops by a certain percentage. TradeScript can also scan the market, generate trade signals, back test trading strategies and more.

Back Testing, Alert, and 
Formula Output Engine

TradeScript Presentation Watch the Presentation (7 minutes)

Vector Programming Languages

Most popular trading applications such as MetaStock™, TradeStation™, NinjaTrader™, MetaTrader™ and others offer some form of a programming language (MQL4, MQL5, EasyLanguage™, MetaStock's ™ scripting language, etc.). Without a programming language, users would be unable to develop flexible trading systems.

A vector programming language allows the trader extreme flexibility with a minimal learning curve. But what is a vector programming language, and what makes this language so user-friendly?

Vector programming languages (also known as array or multidimensional languages) generalize operations on scalars to apply transparently to vectors, matrices, and higher dimensional arrays. The fundamental idea behind vector programming is that operations apply at once to an entire set of values (a vector or field). This allows you to think and operate on whole aggregates of data, without having to resort to explicit loops of
individual scalar operations.

As an example, to calculate a simple moving average based on the median price of a security over 30 days, in a traditional programming language such as BASIC you would be required to write a program similar to the code here:

    For bar = 30 to max
      Average = 0
      For n = bar - 30 to bar
        median = (CLOSE + OPEN) / 2
        Average = Average + median
      MedianAverages(bar) = Average / 30
   Next bar

Several lines of code would be required to create the “MedianAverages” vector. But with TradeScript™, you can effectively accomplish the same thing using only one line:

SET MedianAverage = SimpleMovingAverage((CLOSE + OPEN) / 2, 30)

And now MedianAverage is actually a new vector that contains the 30-period simple moving average of the median price of the security at each point. It is not uncommon to find array programming language "one-liners" that require more than a couple of pages of BASIC, Java or C++ code. The same holds true for creating trading systems for back testing and trade alerts.

Why TradeScript™ ?

TradeScript™ has taken years to develop. A lot of time and effort has gone into this scripting language to make it as fast as possible, as reliable as possible, and perhaps easier to use than any other programming language to date. No matter if you're a trader who needs scripting capabilities inside a Microsoft Excel trading system, or a trading application developer needing to extend the capabilities of a Windows based trading application, TradeScript™ is an easy and powerful plug-and-play solution.

Fast & Easy Solution
All you have to do is insert TradeScript™ into your application and provide a simple text box, list box, or chart. With only 15 minutes of work TradeScript™ is ready for use. TradeScript™ comes with context sensitive help and we allow you to ship our Programmer's Guide with your software - free of charge and without royalties. We also offer paperback printed manuals with your software at $15 per book (minimum order applies).

Programming Guide - English Language
Programming Guide - Russian Language

TradeScript end users can find help in the 107 page help document above
and additionally the
TradeScript Wiki website provides a complete overview of
the entire language, including script examples and detailed help.

M4 Trading Platform Implementation

TradeScript is the language used in our M4 trading platform (available with complete source code). TradeScript is used to execute automated trading signals, process real time alerts plus run stock scanning and back tests. Click here for more information about M4.


Available in C++ and in C# for Silverlight

TradeScript is available in both C++ (best for speed) or C# for Silverlight (for web applications).
Click here to view a live demo in C# Silverlight.


Genetic Programming

A genetic algorithm can be integrated into TradeScript to create an autonomous trading system creation engine. Check our our Evo2 genetic algorithm engine, which is provided with TradeScript examples.

Also See

Also see our non-scripting language Scanning and Automated Trading Engine, the Modulus Super Scanner.

Also see our High Frequency Stock Market Search Engine based on TradeScript HFT Edition.


With TradeScript You Can...

  • Create automated order entry scripts

  • Run thousands of simultaneous alerts

  • Create back tests and optimizations

  • Build script-driven charts and experts

  • Get formula outputs in real-time

Extreme Trading Formulas

Compatible with .NET

TradeScript is 100% compatible with .NET 4.0 including C#, VB.net and VC++

TradeScript™ was designed to support legacy systems while taking advantage of newer APIs when available. TradeScript™ supports Windows 98, Windows 2000, XP, 2003, Vista and Windows 7 32 and 64 bit. 64MB of RAM is required however 512MB RAM is recommended for best performance. TradeScript™ is compatible with Microsoft Excel, VB6, C#, VB.NET, C++ and many other languages. Thirty example projects are provided. The Windows help file for TradeScript™ can be downloaded here. If you're interested in learning about the technical details of TradeScript™, click here.

Pricing, Terms, and Availability

TradeScript™ is affordably priced based on the number of installations you require. The terms are very straight-forward and you may download TradeScript™ to start development the same day you purchase.

Call us toll free at (888) 318-3754 and press option 1 to receive a quote.



   Email This Page
Copyright ® 1999 - 2014 Modulus Financial Engineering, Inc.