"Combining Trend and Oscillator Signals System Testing
The information for this test was published in the December 1996 issue of Technical Analysis of stocks and commodities. The test appears in the text: "Combining Trend and Oscillator Signals" by Jeremy D. Konstenius. Mr. Konstenius describes trading system that combines linear regression and moving averages to generate trades.
To create this test in MetaStock, do the following:
• Run MetaStock version 6.0.
• Click the Tools | System Tester | New Zealanders.
• Enter the test name in the column.
• Enter the following rules for testing the system and options.
Enter long:
C> Mov (C, OPT1, S) and LinRegSlope (C, OPT2)> LinearReg (LinRegSlope (C, OPT3), 50)
CLOSE long:
Tues <Mov (C, OPT1, s) or LinRegSlope (C, OPT2) <LinearReg (LinRegSlope (C, OPT3), 50)
Log In short:
Tues <Mov (C, OPT1, S) and LinRegSlope (C, OPT2) <LinearReg (LinRegSlope (C, OPT3), 50)
CLOSE SHORT:
C> Mov (C, OPT1, s) or LinRegSlope (C, OPT2)> LinearReg (LinRegSlope (C, OPT3), 50)
• Optimize:
OPT1: Minimum 5 maximum 50 Step 5
OPT2: Minimum 5 maximum 50 Step 5
OPT3: Minimum 5 maximum 50 Step 5
• Initial Investment Funds: Any amount.
• Positions: Long and short
• Trade Price: Close
• Trade delay: 0
The author uses weekly data and $ 50 round turn commission. You can change this test by changing the distance from minimum to maximum step or used in any variable OPT.
Monday, April 11, 2011
Subscribe to:
Post Comments (Atom)
Popular Posts
Powered by Blogger.
No comments:
Post a Comment