ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to Trade Shares – Simple Moving Average

Updated on June 21, 2012

Simple Moving Average

The aim here is to show how an ordinary trader can use only a simple moving average to buy and sell stock shares profitably. A simple moving average is the easiest and most popular technical indicator.

The simple moving average is calculated by taking the arithmetic mean of a given set of data values. For example, the basic 5-day moving average of 5, 6, 7, 8, 9 is (5+6+7+8 +9)/5 =35/5 =7.0

As new values become available, the oldest data points must be dropped from the set and new data points must come in to replace them. For example, the basic 5-day moving average of 4, 5, 6, 7, 8, 9 is (4+5+6+7+8)/5 =30/5 =6.0

“4” is the newest data point that has come to replace “9”. Thus, the data set is constantly "moving" to account for new data as it becomes available. This ensures that only the current information is being accounted for. The stock data to be used when computing the simple moving average are the stocks closing prices (end of day data). In this case, 5-day is the period.

Illustration on how to trade shares

In this illustration on how to trade shares successfully using the moving average, I am going to use only three moving averages namely:

1. 15-day moving average

2. 30-day moving average

3. 60-day moving average

The security or shares for this illustration are the closing prices of QQQ Power Shares. From the three moving averages we define two combinations using these three moving averages namely:

1. 30-day moving average and 60-day moving average which is used in determining the trend of the stock. If the 30-day moving average is above 60-day moving average the trend is upside and you go long the stock, and if the 30-day moving average line is below 60-day moving average line the trend is downside and you go short the stock.

2. 15-day moving average and 30-day moving average which is used in determining if you are to trade in the upside position (long stock) or in the upside position (short stock). If the 15-day moving average is above 30-day moving average you go long the stock (but only if condition 1 above has been fulfilled) and if the 15-day moving average line is below 30-day moving average line you go short the stock (but only if condition 1 above has been fulfilled).

We now illustrate the use of the three moving averages using the QQQ stock for 252 days from 18th June 2008 to 17th June 2009. There are two charts as stated in 1 and 2 above.

Fig. 1: 30-day moving average and 60-day moving average

QQQ stock for 252 days from 18th June 2008 to 17th June 2009
QQQ stock for 252 days from 18th June 2008 to 17th June 2009

Fig. 2: 15-day moving average and 30-day moving average

QQQ stock for 252 days from 18th June 2008 to 17th June 2009
QQQ stock for 252 days from 18th June 2008 to 17th June 2009

From the above Charts

(a) If you look at the trend chart fig. 1, the trend became downtrend at point 11 and you stop your downtrend trades by using fig. 2 point 1.

(b) At point 12, fig.1, the trend become up and you are immediately stopped by point 2 fig. 2.

(c) At point 13, fig.1, the trend become downtrend and you trade downward until you are stopped by point 3, fig.2.

(d) At point 14, fig. 1, the trend become uptrend and you trade upward until you are stopped by point 4, fig. 2.

(e) At point 5, fig. 2, you again trade upward but you are again stopped by point 6, fig.2.

(f) At point 15, fig. 1, the trend become downward and you trade downward until stopped by point 7, fig.2

(g) At point 16, fig. 1, the trend become uptrend and you trade upward.

You can see that some trades are very profitable. In other trades it’s a loss as the trough or crest just last briefly before the trend direction change. This is the biggest drawback of trading using the moving averages.

Is there a cure to that moving averages drawback? Yes, there is because every drawback has an equal or a better advantage which is opposite. Let me ask you: why do casinos impose betting limits for almost every single game? It is because if you keep playing while raising your bet, you will never lose. I will tell you how to use moving averages drawbacks but that will be a story for another day.

If you have liked this article, and you would want this page to keep up and improved, you can help in any way you can. A free way to help would be to link back to this webpage from your web page, blog, or discussion forums.

The Author’s page is designed to help beginners and average readers make some money as an extra income to supplement what they may be earning elsewhere - details of which you can find in My Page, if you will.

Comments

    0 of 8192 characters used
    Post Comment

    • profile image

      priya 

      7 years ago

      Good and informative hub.

      Good one!!!.

    • profile image

      Brian ellis 

      7 years ago

      Great really enjoyed it

      I am exploring what happens when u combine ten different moving averages into a single trading indicator, from 10 days to 100 days

      this avoids time lag and gives great results

    • PennyInsanity profile image

      PennyInsanity 

      8 years ago

      Detailed and informative hub. Good stuff.

    • profile image

      BYRAPPA RAMAMURTHY 

      8 years ago

      Dearsir, I am a retired Executive, I do Day trading using

      Simple moving average methodfrom the price data computed

      from the price history rates from The Economic Times

      how? to calculate Method easily

    • profile image

      mdawson17 

      8 years ago

      This certainly is what I would consider a well eductad and informed hub!

      Great Job!

      mdawson17

    • Kapitall profile image

      Kapitall 

      8 years ago from www.kapitall.com

      Would you trade on just historical moving averages or would you use other strategies in your trading?

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)