log in     sign up for free
 
In my opinion, you do not have a trading system unless you know exactly when you will get out of the market position at the time you enter it.
Van K. Tharp
 
 
Home
systems (285)
 
 
Special offer: buy MetaStock (try for free)   |   Reuters QuoteCenter Real-Time Data (get a free month)   |   EOD Data
 

Buy

AmiBroker

     (special offer)
 
 
 

Buy

EOD data for AmiBroker

     (special offer)
 
 
 

Buy

Realtime data for AmiBroker

     (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

Linear Regression System

System for: MetaStock

 

 

Views:  1843

Added: February 09, 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
 


Here's a system that works. Its no Holy Grail but with a little common sense you'd be hard pressed losing money with it. Steve posted it a while back (his "lumber.gif") so I can hardly take credit for the idea, but I think the system is so profitable that I felt I really ought to champion it a bit. I would characterise it as being a fairly aggressive short term system, so it's not everyone's cup of tea.
I have added a stochastic crossover to its exit which gets it out just that little bit earlier sometimes. I find that to get the best signals there is no point in optimising over too long a time frame (yea, I know I'm going to get flamed -- heretic, unbeliever) so I pick a period back where the security doesn't change character too much and re-optimise if something dramatic happens.

Another trick is to initially optimise coarsely over a very wide range and then select intermediate results that appear to be heading for the sort of trades that you'd like to see (not always the most profitable). Often there are many profit peaks and if you initially optimise over too small a range you won't see the best version for that particular security.

I also attach the optimised formula as a MetaStock Expert to securities that I follow. The Buy signal is uncanny and the first few times you really wonder about your sanity.

Jeff Ledermann j.ledermann@uq.net.au

 

 



Code:

Linear Regression Trading System

Enter Long:

Cross(opt2,ForecastOsc(O,opt1))

Close Long;

Cross(ForecastOsc(O,opt1),opt3) OR Cross(Mov(Stoch(opt4,3),opt5,S),Stoch(opt4,3))


 




 

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

 



Author: Jeff Ledermann
Source: http://www.guppytraders.com

 

View similar:

Finite Volume Elements (FVE) System
MACDhistogram Trading
Threshold Trading Revisited - Stochastic
Gil Raff MarketSpace Timing System
Wilder Volatility Index System
03_R2/Regress Slope/Qstick - (OHLC Rqd) Signal Formulas
1-2-3 Reversal System
Bianchi Approach Trading System
Recursive Moving Trend Average
Maximum Profit System I
...
 
 
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