log in     sign up for free
 
Don't worry about what the markets are going to do, worry about what you are going to do in response to the markets.
Michael Carr
 
 
Home
systems (285)
 
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
 

Buy

MetaStock

     (special offer)
 
 
 

Buy

EOD data for MetaStock

     (special offer)
 
 
 

Buy

Realtime data for MetaStock

     (special offer)
 
 
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

07_Three Moving Average System

System for: MetaStock

 

 

Views:  2713

Added: May 29, 2007
 
Rate this code:  Rate: 1 Rate: 2 Rate: 3 Rate: 4 Rate: 5

4

1 ratings
 
 

email this link

 
 
Tags: MetaStock, system
 


----------
From: Richard C. Fredette <sail4@xxxxxxxx> >
To: metastock-list@xxxxxxxxxxxxx
Subject: Moving Averages
Date: Tuesday, July 15, 1997 1:34 AM
.......

Anybody use moving averages to trade mutual funds or stocks?

Dick


Re: Moving Averages
To: <metastock-list@xxxxxxxxxxxxx>, "Richard C. Fredette" <sail4@xxxxxxxx>
Subject: Re: Moving Averages
From: "JimGinVA" <JimGinVA@xxxxxxxxxxxxx>
Date: Tue, 15 Jul 1997 13:11:37 -0400
Resent-Date: Tue, 15 Jul 1997 11:16:02 -0600
Resent-From: metastock-list@xxxxxxxxxxxxx
Resent-Message-ID: <"1FtKN2.0.vj5.H1xop"@mail.equis.com>
Resent-Sender: metastock-list-request@xxxxxxxxxxxxx

Dick,

One of the several MetaStock System Tests I use is a moving average test based on three moving averages. It doesn't test well on all stocks, but does exceptionally well for some stocks. I'll copy it below:

 

 



Code:

07_Three Moving Average System


Enter Long:
HHV(Mov(C,opt1,E),5) = HHV(Mov(C,opt1,E),13) AND
HHV(Mov(C,opt2,E),5) = HHV(Mov(C,opt2,E),13) AND
HHV(Mov(C,opt3,E),5) = HHV(Mov(C,opt3,E),13)


Close Long:

LLV(Mov(C,opt1,E),5) = LLV(Mov(C,opt1,E),13) AND
LLV(Mov(C,opt2,E),5) = LLV(Mov(C,opt2,E),13)


Enter Short:

LLV(Mov(C,opt1,E),5) = LLV(Mov(C,opt1,E),13) AND
LLV(Mov(C,opt2,E),5) = LLV(Mov(C,opt2,E),13) AND
LLV(Mov(C,opt3,E),5) = LLV(Mov(C,opt3,E),13)


Close Short:

HHV(Mov(C,opt1,E),5) = HHV(Mov(C,opt1,E),13) AND
HHV(Mov(C,opt2,E),5) = HHV(Mov(C,opt2,E),13)


OPTIMIZATION VARIABLES

OPT1:
Min = 13.00 Max = 21.00 Step = 8.00

OPT2:
Min = 55.00 Max = 89.00 Step = 34.00

OPT3:
Min = 144.00 Max = 233.00 Step = 89.00

STOPS ALL OFF


 




 

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

 



Author: Jim Greening
Source: http://purebytes.com/archives/metastock/

 

View similar:

Random Entry Generator for Systems Testing
Gap System's
Oddball S&P System by Mark Brown
07_Three Moving Average System
Alligator Trading System
PLdot H-L Price's
Forecast Oscillator Trading System
04_R2/Regress Slope/CCI/TSF
Miesal Indicator System Test
03_R2/Regress Slope/Qstick - (OHLC Rqd) Signal Formulas
...
 
 
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