logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Patrick  
#1 Posted : Friday, August 19, 2005 4:03:40 PM(UTC)
Patrick

Rank: Advanced Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/8/2004(UTC)
Posts: 2,266

Was thanked: 1 time(s) in 1 post(s)
The information for this test was published in the December 1996 issue of Technical Analysis of Stocks and Commodities. The test appears in the article "Combining Trend and Oscillator Signals" by Jeremy G. Konstenius. Mr. Konstenius describes a trading system that combines Linear Regression and Moving averages to generate trades. To create this test in MetaStock do the following: * Run MetaStock * Click Tools|System Tester|New. * Type a name for the test in the Name column. * Enter the following System Test rules and options. ENTER LONG: C > Mov(C,OPT1,S) AND LinRegSlope(C,OPT2) > LinearReg(LinRegSlope(C,OPT2),OPT3) CLOSE LONG: Cross(Mov(C,OPT1,S),C) OR Cross(LinearReg(LinRegSlope(C,OPT2),OPT3),LinRegSlope(C,OPT2)) ENTER SHORT: C < Mov(C,OPT1,S) AND LinRegSlope(C,OPT2) < LinearReg(LinRegSlope(C,OPT2),OPT3) CLOSE SHORT: Cross(C,Mov(C,OPT1,S)) OR Cross(LinRegSlope(C,OPT2),LinearReg(LinRegSlope(C,OPT2),OPT3)) * OPTIMIZE: OPT1: Minimum 5 Maximum 50 Step 5 OPT2: Minimum 5 Maximum 50 Step 5 OPT3: Minimum 5 Maximum 50 Step 5 * Initial Equity: Any amount. * Positions: Long and Short * Trade Price: Close * Trade delay: 0 The author uses weekly data and a $50 round turn commission. You can modify this test by changing the distance from Minimum to Maximum or the Step used in each OPT variable.
Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.