V.7:2 (40-42): Creating prices for system testing by D. Howard Phillips
Product Description
Creating prices for system testing
by D. Howard Phillips
Technical trading systems are evaluated using historical, real-time or computer-generated data. All
three data sources are useful, but computer-generated data can be the most powerful. In particular, using
computer-generated price data that has a known trend percentage allows you to determine the
performance of a trading system statistically. These "trend price streams" are helpful in evaluating any
technical trading system, but are essential to evaluating, adaptive trading systems that learn from
experience and change their trading rules according to the characteristics of the price stream. If you want
to evaluate an adaptive system, you must know how well it adapts to a known trend
Random number generators
I created the price stream in Figure 1 using a random number generator to assign either a plus or minus (+
or -) to each number in the DELTA column, which shows the change in price.
Now, a simple definition of a trend is "something repeating." The interesting thing about random number
generators is that they do generate trends. For each new price in the DELTA column, the probability of a
+0.25 DELTA is equal to the probability of a -0.25 DELTA. Further, it is probable to have two, three or
four successive price increases (or successive price decreases). This leads to trend generation by all
random number generators.
In Figure 1, the AVDELTA column gives the average of the five preceding DELTA values. The sign of
this average is the trend indicator, showing that the trend is either positive or negative. You can use the
AVDELTA sign to create price streams having 10% trend, 20% trend or any other trend percentage, as
illustrated in the equations in Figure 2. These price streams will never repeat and, therefore, are ideal for
evaluating technical trading systems. They also do not contain sine waves or other periodic waveforms
which can lead to unrealistic test results
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 Edition5-year subscription to Traders.com Advantage. 5-year subscription to Working Money. Free book selection. |
|
Click Here to Order |
|