log in     sign up for free
 
Whenever you get hit, you are very upset emotionally. Most traders try to make it back immediately; they try to play bigger. Whenever you try to get all your losses back at once, you are most often doomed to fail.
Marty Schwartz
 
 
Home
systems (285)
 
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
Formula Library
 
AmiBroker
MetaTrader
MetaStock
TradeStation
Wealth-Lab
NinjaTrader
 
add your formula
System Library
 
 
Account login
Your email:
Password:
 
Log in
New to s4t? Sign up.
If you forgot your password click here.
Search the Web
 
Custom Search

Combining Trend and Oscillator Signals

System for: MetaStock

 

 

Views:  2034

Added: January 26, 2007
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5
This formula has not been rated yet
 
 

email this link

 
 
Tags: MetaStock, system
 


The information for this test was published in theDecember1996 issue of Technical Analysis of Stocks and Commodities. The testappearsin the article "Combining Trend and Oscillator Signals" by Jeremy G. Konstenius. Mr. Konstenius describes a trading system that combines Linear Regressionand Moving averages to generate trades.

To create this test in MetaStock do the following:
Run MetaStock version 6.0.
Click Tools|System Tester|New.
Type a name for the test in the Name column.
Enter the following System Test rules and options.

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.

For information about the test contact Jeremy G. Konstenius at

jkonsten@sprynet.com
and
http://home.sprynet.com/sprynet/konsten

 

 



Code:

Combining Trend and Oscillator Signals
ENTER LONG:
C>Mov(C,OPT1,S) AND LinRegSlope(C,OPT2)>LinearReg(LinRegSlope(C ,OPT3),50)

CLOSE LONG:
C

ENTER SHORT:
C

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 Equity: Any amount.
Positions: Long and Short
Trade Price: Close
Trade delay: 0


 




 

Code to difficult? Find somebody to help you with coding here.

 


Source: http://www.equis.com

 

View similar:

Finite Volume Elements (FVE) System
Oddball S&P System by Mark Brown
04_R2/Regress Slope/CCI/TSF
Experimental Williams Trading System
Stochastic Cross Trading System
RSI / Bollinger Band
Wilder Volatility Index System
Genesis of a Simple Futures Trading System
MetaStock System Test 03 - Tema PDI - MDI, ADX (Vol Req.)
Volatility Breakout System
...
 
 
all systems for MetaStock
all systems

 

 

Email to friend

Top

 

     
However we try to maintain hiqhest possible level of service - most formulas, oscillators, indicators
and systems are submitted by anonymous users.
Therefore S4T™ does not take any responsibility for it's quality.
If you use any of this information, use it at your own risk. You are responsible for your own trading decisions.
Be sure to verify that any information you see on these pages is correct, and is applicable to your particular trade.
In no case will S4T™ be responsible for your trading gains or losses.
PayPalSecure payments by PayPal S4T™ is a part of TAURO EDUCATION NETWORK
 
Privacy note | (c) copyrights systems4trading.com 2006-2009