log in     sign up for free
 
There are a lot of problems to solve with exits. If the worst case does not happen (i.e., so you don't get stopped out), then the job of your system is to allow you to make the most profit possible and give the least amount of it back. Only your exits do this!
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

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

Macd RS Ratio

System for: TradeStation

 

 

Views:  1552

Added: June 04, 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: TradeStation, system
 


Spring House Cleaning
. To: <omega-list@xxxxxxxxxx>
. Subject: Spring House Cleaning
. From: "Andy" <adle@xxxxxxxxxx>
. Date: Fri, 3 Apr 1998 13:22:45 -0500
. Resent-Date: Fri, 3 Apr 1998 10:28:34 -0800 (PST)
. Resent-From: omega-list@xxxxxxxxxx
. Resent-Message-ID: <"CdJr71.0.SF2.8fI9r"@mx2>
. Resent-Sender: omega-list-request@xxxxxxxxxx

Macd Relative Strength Ratio:

This is an idea created by Gilbert Raff in the Nov. 1994 issue of Technical Analysis of Stocks and Commodities. It is meant to be use on End of Day charts, for stock pickers and/or mutual funds.Essentially, it tries to pick stocks/funds that will outperform the S&P index.

Take the Close of Data1 and divide it by the Close of Data2 (which is the S&p index).

This will give you the relative strength of the stock/fund to the S&P index. It is NOT the same thing as Welle's Wilder's RSI. The idea is to see if the issue is currently outperforming the S&p or not. In a market downtrend, it only will tell you wether or not the issue is declining at a faster rate than the S&P.

Then impose the MACD on the ratio of issue divided by the S&P. Use that for your buy/sell decisions. There are many variations on what can be done. Listed below is my variation on what can be done; you can do it differently.

 

 



Code:

Type : Signal, Name : Macd RS Ratio
Inputs:
R(12),
S(26),
Q(9),
Price(close of data1/close of data2);

Vars:
Mo(0),
Avg(0);

Mo=MACD(Price,R,S);
Avg=Xaverage(MACD(Price,R,S),Q);
Condition1=Mo crosses above 0;
Condition2=Mo crosses below 0;
Condition3=Mo>0;
Condition4=Mo<0;

If Condition1 then buy 1 contract on close;
If Condition2 then sell 1 contract on close;


 




 

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

 


Source: http://www.purebytes.com

 

View similar:

High Percentage Trading System
Breakout System
Mov Avg X 2_20 System
DBS 9.2 (a)
Phil Lane\'s System
Neely31
RS system No. 1
Long Trends
Finite Volume Element (FVE) System
New Market Paradigm
...
 
 
all systems for TradeStation
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