STOCKS & COMMODITIES magazine. The Traders' Magazine

Register or Log In — Traders.com and STOCKS & COMMODITIES magazine

Indicators  |  OCT 2009

Volume-Weighted MACD Histogram by David Hawkins

Volume-Weighted MACD Histogram by David Hawkins Find out how the performance of the Macd improves by volume-weighting it. MY goal was to make the Macd-histogram (Macdh) perform better by volume weighting it. It uses three exponential moving averages. So, what’s needed is to volume weight the exponential moving average (Ema). The Ema is widely used because it is more responsive than the simple moving average (Sma). The volume-weighted moving average (Vwma) responds proportionately more to higher-volume trading so it emphasizes significant trading while deemphasizing less-significant, light-volume trading. The goal here is to combine them into one moving average, the volume-weighted exponential moving average (Vwema), using an algorithm that is simple and easy to implement with indicator scripting languages in standard technical analysis programs, such as the Indicator Builder in MetaStock. EMA FROM THE SMA The Sma is just the mean of the prices of the last n trading bars. One simply takes the sum of those prices and divides by n. To make the Ema, we start by making the Sma for the first n bars in the dataset. Thereafter, the general formula is: Percentage * (present bar’s price) + (1 – percentage)*(last bar’s Ema) Where, for an n-period Ema, the percentage is given by 2/(n + 1) This has the effect of both giving most weight to the most recent bars and of including information from all previous bars with decreasing weights going back in time.

by David Hawkins

Technical Analysis of STOCKS & COMMODITIES
The Traders’ Magazine since 1982
has had over 1,226,237 subscribers from 174 different countries.
37,000 Page Traders’ Archive for $89.99

NOT A SUBSCRIBER?

To continue reading, sign-up for trial access to Traders.com and the S&C Archive37,000 pages of trading ideas!




After verifying your email address, you will have limited access to the S&C Archive, as well as access to a Digital Edition of S&C, and access to Traders.com Advantage and Working Money for 30 days.



DEPARTMENTS: Advertising | Editorial | Circulation | Contact Us | BY PHONE: (206) 938-0570

PTSK — The Professional Traders' Starter Kit
Home — S&C Magazine | Working Money Magazine | Traders.com Advantage | Online Store | Traders’ Resource
Add a Product to Traders’ Resource | Message Boards | Subscribe/Renew | Free Trial Issue | Article Code | Search

Copyright © 1982–2024 Technical Analysis, Inc. All rights reserved. Read our disclaimer & privacy statement.