Stocks & Commodities V. 32:2 (10-15): Degree Of Complexity by Oscar G. Cagigas

Stocks & Commodities V. 32:2 (10-15): Degree Of Complexity by Oscar G. Cagigas
Item# V32C02_708CAGI
$3.95
Availability: In Stock

Product Description

Degree Of Complexity by Oscar G. Cagigas

Goodness, It Doesnít Fit

When designing trading systems, itís easy to keep adding parameters or filters. But does the system perform better when itís more complex? Hereís how you can keep your system efficient and only add more when itís necessary.

Although complex trading systems deliver good insample statistics, they inevitably fail when it comes to out-of-sample or real-time trading. In this article, I will present a simple theoretical model to show how important it is to keep complexity low when designing trading systems. As an example, I will show you a Donchian-based trading system that generates favorable in-sample statistics when its complexity is increased but deteriorates in the outof- sample tests as the complexity gradually increases. Theoretical model I am going to use a simple model that simulates an uptrend with some volatility. The model is as follows:

Price = C1*N + C2*sin(N) (1)

where:

N is the number of bars (the time variable) sin is the sine wave function C1 and C2 are coefficients that affect the slope of the rising price curve.

Basically, equation (1) is the sum of a straight line plus a sinusoidal wave. I have assigned the values of 10 and 40 to C1 and C2, respectively. In Figure 1 you can see a graphical representation of the price model.

After the price model is defined, I perform a polynomial interpolation of the model with the degree rising to three (from one). Polynomial interpolation finds a polynomial curve of the price variable that goes through the data points. The higher the degree of the polynomial, the more accurate.

The idea is to estimate the future behavior of the price model using a fit with increasing complexity. In Figure 2 you see the first, second, and third degrees of polynomial interpolations of the price model. As you can see, the three approaches look similar.

The goodness of fit R2 can be seen in the table in Figure 3. According to this table, the more complex polynomial, the third degree, has the best fit for the in-sample tests. It has the highest R2 value of 0.799.




FOR THOSE ORDERING ARTICLES SEPARATELY:
*Note: $2.95-$5.95 Articles are in PDF format only. No hard copy of the article(s) will be delivered. During checkout, click the "Download Now" button to immediately receive your article(s) purchase. STOCKS & COMMODITIES magazine is delivered via mail. After paying for your subscription at store.traders.com users can view the S&C Digital Edition in the subscriber's section on Traders.com.




Take Control of Your Trading.
Professional Traders' Starter Kit
All these items shown below only $299.99!
  • 5-year subscription to Technical Analysis of STOCKS & COMMODITIES, The Traders' magazine. (Shipping outside the US is extra. Washington state addresses require sales tax based on your locale.)
  • 5 year access to S&C Archive
  • 5 year access to S&C Digital Edition
  • 5-year subscription to Traders.com Advantage.
  • 5-year subscription to Working Money.
  • Free book selection.
  • Click Here to Order