pad

Click to enlargepadV. 7:1 (35-35): Letters To S&C

LETTERS TO S&C

Optimization

Editor,

Several articles have appeared in S&C wherein optimization was discussed. I would like to discuss something I encountered at least six years ago when I first tried optimizing. Some of your readers may have had the same experience and can further comment on the subject.

The best way to explain this subject may be by example.

The example is extremely simple. It involves optimizing, in one of my programs, only two parameters—a decimal for an exponential average for buying and a decimal for an exponential average for selling. The buy decimal was stepped from .1 to .3 in increments of .05 while the sell decimal was stepped from .15 to .35 in increments of .05. The same database was, of course, used for all combinations of parameter values. The resulting outputs are shown in the enclosed figure (see Figure 1). The MADecBuy values lie along the x-axis and the MADecSell values lie along the y-axis. The outputs from the program are written at the appropriate intersections. (Sorry, just ran out of 3D graph paper.)

Please note the outputs form a multi-peak "mountain range." For example, there is a peak of 37.4 and another of 31.0. Also, there is a "valley" along the MADecSell = .25 value. Furthermore, several dips exist such as the one at MADecBuy = .20 when moving along MADecSell = .15. Still further, increasing values for MADecBuy (i.e. values > 0.3) should produce more peaks—but what we have is sufficient.

From the above, it should be apparent we do not have a monotonic rise to a single peak and a monotonic decline from that peak for the range of parameter values in this simple example. (I am fully aware the previous statement is redundant—if it is monotonic it must be single—but I am trying to emphasize!)

What happens when you are optimizing more than two parameter values? I suspect the situation becomes even more complex.

...

HUGH L. LOGAN

Hendersonville, TN


\V07\C01\LETTER.PDFpad$2.95pad



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.


Take Control of Your Trading.
Professional Traders' Starter Kit
All these items shown below only $495!
  • 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.)
  • S&C on DVD 10.25 plus next year's upgrade FREE!
  • 5-year subscription to Traders.com Advantage.
  • 5-year subscription to Working Money.
  • Free book selection.
  • Save up to 54% by purchasing today. Limited time offer. By purchasing today you also receive your choice of one volume from the Professional Traders' Series (Volumes 1-17 or Charting The Stock Market) for FREE!

    NOTE: Use the "comment" field during checkout to tell us which book you would like to receive.

    Click Here to Order
    You save $502.31 plus the value of the book you choose over the regular price of these items. Offer ends soon.



    Stocks & Commodities magazine Copyright © 1996-2008 Technical Analysis, Inc. All rights reserved. Read our privacy statement. Visit our main Website. www.traders.com

    Phone 1(800) 832 4642 or (206) 938 0570