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
To continue reading, sign-up for trial access to Traders.com and the S&C Archive — 37,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.
Not a subscriber to Technical Analysis of
STOCKS & COMMODITIES magazine?
Click
here to subscribe, or request
a trial subscription.
Log-in now to view articles from the S&C Archive.
Your Subscriber ID is located at the top of your magazine label, highlighted here in red.
Your last name can be found on the second line, highlighted here in blue.
*If you have a company name on the label, that can also be used. It will appear below your name on the label.
If you do not have a Subscriber ID on your label, you can find it on your statement or renewal form.
For help locating your Subscriber ID number, please call us at 1-800-832-4642 or send an email to Survey@Traders.com. If sending an email, please include your name and mailing address.