MetaStock™ Zone Forum & FAQ Artykuły Linki Elliott Waves EasyLanguage™ Zone

A B C D E F G H I J K L M N O P R S T U V W Y Z #

Smooth Stocks Exploration
Smooth Stocks

* To: <Metastockusers@xxxxxxxxxxxxxxx>, <METASTOCK@xxxxxxxxxxxxx>
* Subject: Smooth Stocks
* From: "David DeFina" <ddefina@xxxxxxxxxxxx>
* 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.
 
Source / From: TOP
http://purebytes.com/archives/metastock/

Equis and MetaStock® and MetaStock Professional® are registered trademarks of Equis International. Achelis Binary Wave®, The DownLoader®,
Expert Advisor®, OptionScope®, Quotecenter® and Smart Charts® are trademarks of Equis International, a Thomson Reuters company.

TradeStation® Pro, TradeStation® 2000i, OptionStation®, SuperCharts®, PowerEditor® and EasyLanguage®
are registered trademarks of TradeStation Technologies, Inc. Other names and marks referred to are the property of their respective owners.

All information provided on this website is for educational purposes only. Trading involves risk, including possible loss of principal and other losses.

Ten i inne materiały na tej stronie zostały zamieszczone zostały jedynie w celach edukacyjnych, nie ponoszę żadnej odpowiedzialno¶ci za ich stosowanie.

Gra na giełdzie i rynkach walutowych (FOREX) niesie ze sob± ryzyko poważnych strat finansowych!