Peltier Technical Services, Inc.
 

Excel Charting Utilities | Custom Solutions | Training | Charts and Tutorials | PTS Blog


Peltier Tech
Chart Utilities

PTS Waterfall Chart Utility
PTS Cluster-Stack Column Chart Utility
PTS Box and Whisker Chart Utility
PTS Marimekko Chart Utility
PTS Dot Plot Utility
PTS Cascade Chart Utility

 

 

Books at Amazon.com

 

Buy me a coffee

If this topic or the whole site has been helpful, please support further development by treating me to a cup of coffee.

 

Stock Chart with Left Tick Marker for Open Series.

When an Open-High-Low-Close chart is created in Excel, the result is a candlestick chart, shown below. The bar spans the range from open to close and the drop lines show the low and high extremes, with a white fill indicating an increase and a black fill indicating a decrease. Personally I find this confusing, because I have to read the data to recall whether white fill means up or down. Stock charts in the newspaper and on line show a tick mark to the left of the low-high drop lines for open and one to the right for close. Microsoft has seen fit to only provide right-handed markers for stock closing prices. A common question people have is "How can I make the tick mark go to the left for the opening price?"

This describes my procedure for left-handed opening price tick marks. First, create a standard HLC Stock chart with the High-Low-Close data.

Now add the Open series as an extra Line or XY series, as described on Stock Charts with Added Series, elsewhere on this web site. This series is denoted by the red crosses below.

Now we'll construct a custom marker for this added series. You can make any shape, copy it, select the series, then paste, and the shape you had selected becomes the series marker style. Make a left leaning marker by drawing two rectangles in the worksheet, side by side. Format the left rectangle with a black fill and no border, the right one with no fill and no border. (The invisible box on the right balances the marker.) Group the rectangles, then shrink them to a very small size.

Black and white rectangles side-by-side:

Black and transparent rectangles side-by-side:

Black and transparent rectangles grouped and shrunk to size:

Copy this custom shape, select the Open series, and paste (Ctrl-V). The Open series takes the custom shape as its marker.

You can move the Open series to the top of the Legend by changing the '4' in the series definition formula:

=SERIES('Stock Chart'!$B$1,'Stock Chart'!$A$2:$A$23,'Stock Chart'!$B$2:$B$23,4)

to a '1':

=SERIES('Stock Chart'!$B$1,'Stock Chart'!$A$2:$A$23,'Stock Chart'!$B$2:$B$23,1)

This moves the series from fourth to first in the plot order.

 

 

Page copy protected against web site content infringement by Copyscape

 

PTS Waterfall Chart Utility PTS Cluster-Stack Column Chart Utility PTS Box and Whisker Chart Utility PTS Marimekko Chart Utility PTS Dot Plot Utility PTS Cascade Chart Utility

 

Create Excel dashboards quickly with Plug-N-Play reports.


Peltier Technical Services, Inc.

Commercial Utilities | Custom Solutions | Training | Charts and Tutorials | PTS Blog

Peltier Technical Services, Inc., Copyright © 2010. All rights reserved.
You may link to this article or portions of it on your site, but copying is prohibited without permission of Peltier Technical Services.

Microsoft Most Valuable Professional

Microsoft Most Valuable Professional

My MVP Profile