ChartWatchers

AVERAGING THE HIGHS AND THE LOWS

Chip Anderson

Chip Anderson

President, StockCharts.com

There is a lot more power inside our SharpCharts2 charting engine than we currently make available to our users. The problem is making that power available in an easy-to-use way. A great example of that is the ability to calculate indicators based on something other than the closing value in the underlying dataset. Imagine seeing a MACD display based on a stock's High values rather than it's close. Or image seeing a Bollinger Band plot based on the Lows of the day.

This week we took a step towards providing that level of flexibility by modifying the way that Simple Moving Averages and Exponential Moving Averages work. Now, you can add an optional letter to the end of any moving averages parameter box that will change the data value that we use to calculate the average. If you don't specify a letter, we will use the closing value like we always have.

For example, to plot the 10-period Simple Moving Average of the daily Highs for the Dow, use the string "10,H" in the "Parameters" box beside the Overlay dropdown. To plot the 10-period Simple Moving Average of the Lows, use "10,L". Here is an example of what that chart would look like:

SMA Example #1 (Click on the chart to see the new settings in action.)

You can use the letter "O" for the Open, "H" for the Highs, "L" for the Lows, and "C" for the Close. If you don't specify a letter, the closing values will be used. Again, this new feature only works for Simple and Exponential Moving Averages right now.

You can combine this new ability with the existing ability to offset a moving average to create some very interesting charts. Here's a chart off the 1-period MA of the Highs and the 1-period MA of the Lows - only the 1-period MA of the Lows is offset by one day. In addition the price bars have been hidden so that they don't clutter things up.

SMA Example #2 (Again, Click on the chart to see the exact settings.)

Please experiment with these new options and let us know what you think.

Chip Anderson
About the author: is the founder and president of StockCharts.com. He founded the company after working as a Windows developer and corporate consultant at Microsoft from 1987 to 1997. Since 1999, Chip has guided the growth and development of StockCharts.com into a trusted financial enterprise and highly-valued resource in the industry. In this blog, Chip shares his tips and tricks on how to maximize the tools and resources available at StockCharts.com, and provides updates about new features or additions to the site. Learn More