log in     sign up for free
 
Winning streaks lead to complacency, and complacency leads to sloppy trading.
Jack D. Schwager
 
 
Home
systems (284)
 
Special offer: buy AmiBroker and EOD+Real-Time 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

Macd RS Ratio

Formula for: TradeStation

indicator


 

 

Views:  1678

Added: June 14, 2008
 
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, indicator
 
Your Ad Here
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 : Indicator, 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);

Plot1(Mo,"Momentum");
Plot2(Avg,"Avgerage");
Plot3(Mo-Avg,"Difference");

 





Source: http://www.purebytes.com

 

View similar (indicator for TradeStation):

VIDYA
R - Squared
Rainbow Charts
Recursive Moving Trendline Indicator
LBR_IntraHL Channel
Donchian Channel
Mov Avg X 2_20
Triangle Pattern Indicator
Preferred (Slow) Oscillator
DBS-Where
...
 
 
all formulas for TradeStation
all formulas

 

 

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.
 
Privacy note | (c) copyrights systems4trading.com 2006-2012