How to create a stock chart
The high-low-close stock chart displays the high, low and closing price for a given date range. Each line represents a day, week, month or year determined by your data values. The image above shows a monthly stock chart from year 2009 to 2018.
The highest/smallest value is the value that the stock was traded during that particular day/week/month or year. The close price is the marker shown above, it indicates the price the last trade for that given day/week/month or year was traded at.
How to build
- Select data. It must be arranged High-Low-Close.
- Go to tab "Insert" on the ribbon.
- Press with left mouse button on the "Insert Waterfall, Funnel, Stock, Surface, or Radar Chart" button.
- Press with left mouse button on the "High-Low-Close" button.
- To change the color of the marker double press with left mouse button on the data series, this opens the task pane.
- Press with left mouse button on "Fill & Line".
- Press with left mouse button on "Marker".
- Pick a "Fill" and "Border" marker color, I chose black.
Add dates to x-axis
- Press with right mouse button on on chart.
- Press with left mouse button on "Select Data...".
- Press with left mouse button on "Edit" button.
- Select your date values.
- Press with left mouse button on OK button.
- Press with left mouse button on OK button.
Table of Contents
Create a stock chart in excel 2003
This tutorial will show you how to create stock charts in excel 2003.
How to copy historical stock prices to excel
Search for a company in Yahoo Finance and go to historical prices. Select and copy historical prices.
Go back to excel. Paste the values to a sheet.
Insert the stock chart
Select the data below "High", "Low" and "Close" in your excel sheet.
Go to "Insert" and press with left mouse button on "Chart..." in the top menu in Excel.
Press "Finish".
Chart settings
To change the gray background to white, Â press with right mouse button on the grey area and select "Format plot area". Â Select a background color.
Create a stock chart in excel 2007/2010
To make things more interesting than copying historical prices from yahoo I am going to use a modified version of the user defined function in this post:
Excel udf: Import historical stock prices from yahoo – added features
The user defined function makes it easy to import historical prices from yahoo finance.
This chart is a mess.
Change the vertical axis minimum and maximum values
- Select vertical axis
- Press with right mouse button on on vertical axis
- Press with left mouse button on "Format Axis..."
- Press with left mouse button on Minimum: Fixed and type 24
- Press with left mouse button on Maximum: Fixed and type 32
- Press with left mouse button on Close
Add months to stock chart
In cell A1 type : Months
In cell A2:
=TEXT(B2, "MMM")
In cell A3:
=IF(TEXT(B3, "MMM")=TEXT(B2, "MMM"), "", TEXT(B3, "MMM"))
Copy cell A3 and paste down as far as needed.
- Select stock chart
- Press with right mouse button on on stock chart
- Press with left mouse button on "Select Data"
- Press with left mouse button on "Edit" button
- Select cell range A2:A113
- Press with left mouse button on OK
- Press with left mouse button on OK
- Select horizontal axis
- Press with right mouse button on on horizontal axis
- Press with left mouse button on "Format Axis..."
- Go to "Alignment"
- Change custom angle to 1
- Press with left mouse button on Close
Charts category
Question: How do I create a chart that dynamically adds the values, as i type them on the worksheet? Answer: […]
I recently discovered an interesting technique about using a user defined function in a HYPERLINK function. Jordan at the Option […]
In this article I will demonstrate how to quickly change chart data range utilizing a combobox (drop-down list). The above […]
This article demonstrates macros that automatically changes the chart bar colors based on the corresponding cell, the first example is […]
This article describes how to create an interactive chart, the user may press with left mouse button on a button […]
The calendar shown in the image above highlights events based on frequency. It is made only with a few conditional […]
Fatou asks: Going back to my question, I had created a table and used the data to create a chart. […]
You can easily change data labels in a chart. Select a single data label and enter a reference to a […]
The image above shows a chart populated with data from an Excel defined Table. The worksheet contains event code that […]
Today I am going to show you how to create a dynamic Gantt chart in excel 2007. A Gantt chart helps […]
The picture above shows a chart that has custom data labels, they are linked to specific cell values. This means […]
I will in this article demonstrate how to set up two drop down lists linked to an Excel chart, the […]
This article describes how to create a map in Excel, the map is an x y scatter chart with an […]
This article demonstrates how to insert pictures to a chart axis, the picture above shows a column chart with country […]
I made a heat map calendar a few months ago and it inspired me to write this article. The heat […]
This article demonstrates a macro that changes y-axis range programmatically, this can be useful if you are working with stock […]
This article demonstrates how to highlight a bar in a chart, it allows you to quickly bring attention to a […]
This article describes a macro that hides specific columns automatically based on values in two given cells. I am also […]
This article demonstrates how to use drop down lists combined with an Excel defined Table and a chart. This allows […]
This article demonstrates how to highlight a line in a chart based on the selected item in a drop-down list. […]
Stock chart category
This article demonstrates a macro that changes y-axis range programmatically, this can be useful if you are working with stock […]
This stock chart built in Excel allows you to change the date range and the chart is instantly updated. What's […]
This article demonstrates how to create a stock chart with two series.
Excel categories
One Response to “How to create a stock chart”
How to comment
How to add a formula to your comment
<code>Insert your formula here.</code>
Convert less than and larger than signs
Use html character entities instead of less than and larger than signs.
< becomes < and > becomes >
How to add VBA code to your comment
[vb 1="vbnet" language=","]
Put your VBA code here.
[/vb]
How to add a picture to your comment:
Upload picture to postimage.org or imgur
Paste image link to your comment.
[…] Learn how to create a stock chart in excel […]