Writers' Community!
Home Page Two Columnists Q&A Submit an Article FAQs Contact Author Login
Article Submission
We Need YOUR Articles!
We'll Promote Them for FREE!

Author Login

New Authors
Register Here


Now Serving 7,784 Authors
70,500 Quality Articles
& 4,585 Current Users Online!
Featured Authors
Mogama (16,433)
Bruce Horst (138)
Joel Hendon (17,877)
Michael Ramzy (633)
E. Raymond Rock (3,064)
Ira Coffin (7,406)
Connor Davidson (5,137)
Ben Morrish (8,401)
Steve Kovacs (4,388)
Sandra E. Graham (8,072)
Fran Larson (2,158)
Shari Vaudo (418)
David Tanguay (9,593)
Missing Link (708)

View All Featured Authors
Most Recent
Winning Percentage - Not The Whole Story

How Much Can I Contribute to a Roth IRA? - Case Study

High Yield Roth IRA

International Term Life Insurance vs. Cash Value Insurance

Build and Preserve Your Wealth With Gold Bullion

Investment Retrospective A Preemptive Portfolio Protection Strategy

Currency Trading Made Easy - How To Profit From Forex

Using A Roth IRA as Your Emergency Fund

When Can You Cash Out a Roth IRA? Withdraw Contributions / Earnings

Private Real Estate Offerings Replace Reits and Mutual Fund Investing

Home » Categories » Finance » Investing » (MT) Metastock Part 3: Relative Strength Comparison (RSC) The Key Success Tool In Trading By Stock Market Sectors » Printer Friendly

(MT) Metastock Part 3: Relative Strength Comparison (RSC) The Key Success Tool In Trading By Stock Market Sectors

Rated 3.5 out of 5
No Reader Ratings Available ?
Rate It  /  View Comments  /  View All Articles submitted by djenyns
Submitted Monday, February 20, 2006
djenyns (315)
MetaFormula
Log in to become a member of djenyns's Fan Club!


In Part 2, of Designing a Trading System in MetaStock I covered how to code the first two of the four major components of a mechanical entry system. I had explained the coding of price and liquidity. In this article, I will cover the steps for coding the remaining two components, trend and volatility, into MetaStock. In the end, you will have the complete codes for a mechanical entry system.

Let`s begin with trend identification. Remember, `the trend is your friend` when trading. You always want to trade with the trend, not against it. Think of it this way, if you were swimming in the sea, and got yourself caught in a rip tide, is it easier to swim with the current or against it? It is the same with trading with a trend.

There are many ways to identify trends, and it`s not particularly important which method you use. You just need to use one. One of my preferred methods for identifying trending stocks is to find stocks that are trading at their current highs. You can do this by stipulating that the highest high price must have been achieved in the last `x` number of days.

Once again, the variables you use will depend on the time frame you are trading. But for this example, you want the highest high price in the last 240 days to have occurred in the last 20 days.

Using the formula reference section in the MetaStock Programming Study Guide, you can find the syntax of the highest high function, and then plug in the details. Then, using the `less than` symbol, you can specify the number of days must be less than 20. In MetaStock language that would be:

HHVBars(H,240) < 20

The final component to our entry system is the volatility measure. The aim of including this formula is to identify stocks that move enough for us to make a profit, yet aren`t so erratic that they keep you up at night. There are a few ways to measure volatility. However, my favourite is the ATR method. The ATR indicates how much a stock will move, on average, over a certain period.

For example, a one-dollar stock might move five cents on average over the last 20 days. You can divide this value by the price of the stock and you will have the average percentage movement of a stock. With these values, you can stipulate a minimum and maximum daily volatility value.

For example: You may want the ATR, divided by the average closing price, over the last 21 days, to be greater than 1.5%. Therefore, the average minimum volatility must be greater than 1.5%.

Additionally, you may want the ATR divided by the closing price, over the last 21 days, to be less than 6%. This sets the average maximum volatility at less than 6%. In MetaStock language that would be:

ATR(21)/Mov(C,21,S)*100 > 1.5 and
ATR(21)/Mov(C,21,S)*100 < 6

Putting all our code together, you see what your entry system looks like:

C>1 and
Mov(v,21,s)*C > 200000 and
HHVBars(H,240) < 20 and
ATR(21)/Mov(C,21,S)*100 > 1.5 and
ATR(21)/Mov(C,21,S)*100 < 6

You now have now a workable entry system. Not only did you construct a robust system, but it also adheres to the KISS principal (Keep It Simple Simon). This system can be cut and pasted into the Explorer within MetaStock. However, the entry is only the beginning of a successful trading system. In later parts of this series, you`ll find the rest of the components that you need to design a profitable trading system.
-=-=-==-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-
David Jenyns is recognized as the leading expert when it
comes to MetaStock and designing profitable trading systems.

His MetaStock website offers a huge free collection of trading
related tips and tricks. Gain free access now.
Click Here ==> http://www.meta-formula.com/subscribe
-=-=-==-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-



tweet this!



Reprint Rights

Log in to become a member of djenyns's Fan Club!

No comments yet.


Was this article helpful to you? Leave a Public Comment or Question:

This Article has been viewed 1,014 times.
Article added to SearchWarp.com on 2/20/2006 12:42:59 AM.
View other articles written by djenyns (315)


If you found this article interesting, you may want to check out:

Disclaimer:  All information on this site is provided for informational purposes only! By no means is any information presented herein intended to substitute for the advice provided to you by any health care or other professional or organization.


Today's Most Popular
Original Ways To Make Money Fast- She Made $20,000 in 3 Days

Forex Trading Times and Currency Relationships

Chicago Subsidized Apartments

The Biggest Secret to Successful Currency Trading

Making use of consolidation patterns by Darren Winters

Where Does Money Come From ? Get ready for a shock if you don't already know.

Historical CD Rates Information

A Beginner’s Guide to FOREX

Crude Oil – the Different Benchmarks For Traders and Investors

Williams %r Indicator – Another Excellent Technical Trading Tool

Viewed from Cache. Load Time: 0.047.

Home  |  Page Two  |  FAQ's  |  Contact  |  Terms of Service  |  Article Submission Guidelines  |  Questions & Answers  |  Privacy  |  Mission / About
Copyright © 1999-2009 SearchWarp.com, All Rights Reserved - SearchWarp.com is an IcoLogic, Inc. Company