log in     sign up for free
 
My percentage of winners is only about 50/50, because I cut my losers very quickly. The maximum loss I allow is 7 percent, and usually I am out of a losing stock a lot quicker. I make my money on the few stocks a year that double and triple in price.
David Ryan
 
 
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

Smooth Stocks Exploration

Formula for: MetaStock

exploration


 

 

Views:  1293

Added: January 26, 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: MetaStock, exploration
 
Your Ad Here
Smooth Stocks
* To: ,
* Subject: Smooth Stocks
* From: "David DeFina"
* Date: Wed, 13 Jun 2001 09:14:37 -0700
* Importance: Normal
* Reply-To: metastock@xxxxxxxxxxxxx
* Sender: owner-metastock@xxxxxxxxxxxxx

Thanks for the suggestions on finding smooth stocks. After playing around a little with formulas suggested to me, I came up with the following exploration that seems to work pretty well. It looks for 3-day trends where the highs and lows increase for an up trend and vice-versa. I then did a sum for the last 100 days so that the result would be a percentage of times these trends occurred over the last 100 days, allowing me to rank 255 stocks relative to each other. It also adds the up and down trend occurrences together to get one number to sort on. It seems to work very well, but I?m still open to suggestions for improvement. In my trading I use Stops mostly on the highs and lows of the previous day, so finding stocks that don?t stop out often is a plus for me. Here is the exploration (crude but appears effective):



Smooth Stocks Exploration
Column A: UPTREND

Sum(L > Ref(L,-1) AND Ref(L,-1) >(Ref(L,-2)) AND
(H >= Ref(H,-1) AND Ref(H,-1) >=(Ref(H,-2))),100)

Column B: DOWNTREND

Sum(L < Ref(L,-1) AND Ref(L,-1) <(Ref(L,-2)) AND
(H <= Ref(H,-1) AND Ref(H,-1) <=(Ref(H,-2))),100)

Column C: TOTAL (sum of previous two)

Sum(L > Ref(L,-1) AND Ref(L,-1) >(Ref(L,-2)) AND (H >= Ref(H,-1) AND Ref(H,-1) >=(Ref(H,-2))),100) + Sum(L < Ref(L,-1) AND Ref(L,-1) <(Ref(L,-2)) AND (H <= Ref(H,-1) AND Ref(H,-1) <=(Ref(H,-2))),100)




I sort the stocks for volatility and volume before running this exploration. I then sort on Column C. This seems to ferret out the "well behaved" stocks for the last 100 days pretty well.

 

 



Code:

Smooth Stocks Exploration
Column A: UPTREND

Sum(L > Ref(L,-1) AND Ref(L,-1) >(Ref(L,-2)) AND
(H >= Ref(H,-1) AND Ref(H,-1) >=(Ref(H,-2))),100)

Column B: DOWNTREND

Sum(L < Ref(L,-1) AND Ref(L,-1) <(Ref(L,-2)) AND
(H <= Ref(H,-1) AND Ref(H,-1) <=(Ref(H,-2))),100)

Column C: TOTAL (sum of previous two)

Sum(L > Ref(L,-1) AND Ref(L,-1) >(Ref(L,-2)) AND (H >= Ref(H,-1) AND Ref(H,-1) >=(Ref(H,-2))),100) + Sum(L < Ref(L,-1) AND Ref(L,-1) <(Ref(L,-2)) AND (H <= Ref(H,-1) AND Ref(H,-1) <=(Ref(H,-2))),100)

 





Source: http://purebytes.com/archives/metastock/

 

View similar (exploration for MetaStock):

Pivot-Point Strategy
Average Dollar Price Volatility Exploration
RSI Bullish & Bearish Divergence Exploration
Stocks Closing Above 60 Day High
Bullish & Bearish Engulfing Pattern
Regression Oscillator & Slope/Close Indicator Exploration
01_MFI/R2/Regress Slope/TSF - Short
Accumulation or Disribution?
Relative Strength of Stock to Index
Accumulation or Disribution?
...
 
 
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