Home | List of Articles | Submit an Article | Contact Us

Part 2: Designing a Trading System in MetaStock

In Part 1 of Designing a Trading System in MetaStock, I had discussed the major components you needed to be able to track to create a mechanical entry system. These were measures of price, liquidity, trend, and volatility. The question now is, how do we code this into MetaStock?

First, let me offer you the most valuable piece of knowledge I have acquired over the years about MetaStock formula writing. This one secret will turn you into a MetaStock master. Do you think I know all of MetaStock`s hundreds of pre-programmed formula and propriety indicators? Well, I`m good, but I`m not that good.

When coding in MetaStock, the key to getting it “right” is to write what it is you are trying to achieve “down in English”. Once you`ve done this, it is easy to convert it into a MetaStock formula.

Let`s look at an example. Our first entry condition is a measure of price. As mentioned in Part 1, you want to set a price minimum to remove speculative stocks. Please note that the values you select will depend on the exchange you are trading. Some markets tend to be more expensive than others. For this example, we are looking to design a long-term trend following system to trade on the Australian Stock Exchange.

In Australia anything under $1 could be classed as a speculative stock. So how do you stipulate that the stocks you want must be greater than $1? First, “write it in English”: You want stocks with a 21-day average closing price that is greater than $1. Now, you can convert this into a MetaStock formula.

Using the formula reference section in the MetaStock Programming Study Guide, you can check the syntax of a moving average. Once you have this information, it`s simply a matter of plugging in the correct numbers. Then, by using the “greater than” symbol, you can stipulate the price to be greater than $1. The MetaStock code will look like this:

Mov(c,21,s) > 1

Let`s move onto the next component, liquidity. This is a measure of how much money a stock trades. It is important to identify stocks that have enough money moving through them so that you`re never caught with a stock you can`t get out of. For this example, let`s say we require the 21-day average of volume multiplied by the closing price to be greater than $200,000. In MetaStock language this would be:

Mov(v,21,s)*C > 200000

In the next article I`ll go through the last two components needed to design a mechanical entry system in MetaStock. With this information, you will be well on your way to starting an effective, and profitable, trading system in MetaStock.

-=-=-==-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-
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
-=-=-==-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-

Related Articles:

  • Placing Stock Sell Stops - If you follow my articles or my stock analysis, you already know that I am not a supporter of physical sell stops due to the fact that market makers can manipulate these stops during the day. A market maker can drive the price down artificially during trading hours setting off physical stop after physical stop onl ...
  • Using Stock Research and Stock Analysis Services - I consider my community a stock market research and education service that is offered to anyone interested in learning how to invest in the market for themselves. I do not manage money and I do not make specific stock picks for anyone in my community. I like to believe that this service is different from most of t ...
  • How Many Stock Is Enough? - I consider my community a stock market research and education service that is offered to anyone interested in learning how to invest in the market for themselves. I do not manage money and I do not make specific stock picks for anyone in my community. I like to believe that this service is different from most of t ...
  • How Can a Piece of Cardstock Make Networking, Promoting & Selling Your Business Easier and More - Everyone is trying to give advice on what to do with your money. There are numerous shows, infomercials, etc... Many charge a lot of money and make huge promises and then you find out it was a scam, bad advice, etc... I am going to show you how I averaged 187% returns on all my investments last year and over 500% ...
  • The Best Investment Advice and Stock Picks for 2006 - Everyone is trying to give advice on what to do with your money. There are numerous shows, infomercials, etc... Many charge a lot of money and make huge promises and then you find out it was a scam, bad advice, etc... I am going to show you how I averaged 187% returns on all my investments last year and over 500% ...
  • An Analysis of Overstock.com (OSTK) - Why is a value investor writing about an unprofitable internet company? Because value investing is about finding dollars that trade for fifty cents; with a market cap of less than 75% of sales, Overstock.com (OSTK) looks like it may be exactly that. But isn’t it too risky? The greatest risk in any inve ...
  • For a Complete list of Articles with summaries Click Here


  • © Copyright. All rights Reserved. QualityBooks.com | Sitemap