TRADING SYSTEMS

About Simple Self-Learning Machines

Building Systems For Forex

by Joseph James Gelet

When developing designs for forex trading systems, you need to give a lot of thought to the logic involved. Here is a look at the components necessary for a good forex trading system.

As system developers know, the process of building automated trading systems is complex and filled with biases. A machine is not necessarily a physical mechanical machine. It can be a virtual machine, electrical machine, or in our case, software-based logical trading machine. System trading is the process of building and implementation of algorithm-based systems that execute trades automatically. While many associate this with machine intelligence, only the execution is fully automated.

Many trading systems rely on simple rules and do not fully exploit the possibilities of machine intelligence, considering the recent rapid increase in computing power. By refining the process of building the logic behind trading systems, we can build intelligent systems that not only exploit processing power, but rely less on the skill of developers and traders. Some flaws in building any system are:

Logic as a parameter
Common parameters in automated trading systems may include values such as lot size, time, and indicator levels (such as a Bollinger Band standard deviation). When optimizing systems, traders will backtest, usually resulting in overoptimization, and sometimes use techniques for real-time optimization. Other software includes walk-forward optimization, which is questionably accurate to determine the best parameters.

But heavy parameter-driven design is good for testing, not optimizing. The same strategy can be used and tested by traders in many ways, according to the market or their trading needs.

Good logic is left with as many parameters as possible. In fact, if it can be a parameter, code it as one (see Figure 1). Even obvious variables such as error correction settings or number of open order limitations should be left open as variables.

Image 1

FIGURE 1: CODING PARAMETERS. Even obvious variables should be left open as variables.

This design always creates many variables, but it is better to have it and not use it and not need it than to need it and not have it (especially given the fact that most traders do not have access to the source code, leaving them with only parameters to modify).

…Continued in the September issue of Technical Analysis of Stocks & Commodities

Excerpted from an article originally published in the September 2012 issue of Technical Analysis of Stocks & Commodities magazine. All rights reserved. © Copyright 2012, Technical Analysis, Inc.

Return to Contents