log in     sign up for free
 
In order to maximize your profits (let them run), you must be willing to give some of them back.
Van K. Tharp
 
 
Home
systems (284)
 
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

Relative Strength of Stock to Index

Formula for: MetaStock

exploration


 

 

Views:  1552

Added: December 19, 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, exploration
 
Your Ad Here
Here is what I have been using as Relative Strength (RSC) Compared to the XAO.



Relative Strength of Stock to Index
Column A:
CLOSE

Column B:
If( (Ref(Div(CLOSE,P),-4) > Ref(Mov(Div(C,P),30,E),-4)),1,0)

Column C:
If( (Ref(Div(CLOSE,P),-3) > Ref(Mov(Div(C,P),30,E),-3)),1,0)

Column D:
If( (Ref(Div(CLOSE,P),-2) > Ref(Mov(Div(C,P),30,E),-2)),1,0)

Column E:
If( (Ref(Div(CLOSE,P),-1) > Ref(Mov(Div(C,P),30,E),-1)),1,0)


Column F:
(( C/P - Mov(C/P,30,E)) / Mov(C/P,30,E)) * 100

Filter:
Div(C,P)> Mov(Div(C,P),30,E) AND colB=1 AND colC =1 AND colD = 1 AND colE =1




I name columns B - E period 1, 2, 3, etc.
Open The chart of the index you wish to get the relative strength of the securities on make periodicity "Week".
In the options area of the exploration editor change to Week. This formula will select securities that have out perform the index over the last 5 weeks. The formula in column F provides a way to rank the securities in terms of their recent performance relative to the index.

Frederick W. McKenzie

fmckenz@primus.com.au

 

 



Code:

Relative Strength of Stock to Index
Column A:
CLOSE

Column B:
If( (Ref(Div(CLOSE,P),-4) > Ref(Mov(Div(C,P),30,E),-4)),1,0)

Column C:
If( (Ref(Div(CLOSE,P),-3) > Ref(Mov(Div(C,P),30,E),-3)),1,0)

Column D:
If( (Ref(Div(CLOSE,P),-2) > Ref(Mov(Div(C,P),30,E),-2)),1,0)

Column E:
If( (Ref(Div(CLOSE,P),-1) > Ref(Mov(Div(C,P),30,E),-1)),1,0)


Column F:
(( C/P - Mov(C/P,30,E)) / Mov(C/P,30,E)) * 100

Filter:
Div(C,P)> Mov(Div(C,P),30,E) AND colB=1 AND colC =1 AND colD = 1 AND colE =1

 






Author: Frederick W. McKenzie
Source: http://www.guppytraders.com

 

View similar (exploration for MetaStock):

Overbrought / Oversold
RSI and Price Exploration
01_MFI/R2/Regress Slope/TSF - Short
Rising Darkness
Pring's Daily KST Buy
RSI Bullish & Bearish Divergence Exploration
Specialised Moving Average Exploration
ADX Rising Expoloration
CCI Fibonacci Peak Exploration
Dynamic Zone Williams%R Exploration
...
 
 
all formulas for MetaStock
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