PC Review Forums Newsgroups Microsoft Excel Microsoft Excel Charting Plotting 2 stock series?

Reply

Plotting 2 stock series?

 
Thread Tools Rate Thread
Old 21-11-2003, 08:40 PM   #1
Jeff Baum
Guest
 
Posts: n/a
Default Plotting 2 stock series?


Does anyone know if it is possible to plot 2 series of
stock data on 1 graph? In other words, I'd like to take
2 sets of H-L-C data, and then create one graph with
primary and secondary axes for both X&Y, that would
accommodate both the primary and secondary set of
Date/H/L/C data.

Thanks,
Jeff Baum

  Reply With Quote
Old 24-11-2003, 03:35 PM   #2
Tushar Mehta
Guest
 
Posts: n/a
Default Re: Plotting 2 stock series?

What you could try is to create two charts and overlay one on top of
the other. For the one one top, make the plotarea and chartarea
transparent (double-click each of the chartarea and plotarea and in the
respective dialog boxes, from the Patterns tab, set the Area to
'None'). You will also have to adjust the axes so that only one set is
visible.

--
Regards,

Tushar Mehta, MS MVP -- Excel
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article <024901c3b06f$a6d2ff10$7d02280a@phx.gbl>, excel@jeffbaum.com
says...
> Does anyone know if it is possible to plot 2 series of
> stock data on 1 graph? In other words, I'd like to take
> 2 sets of H-L-C data, and then create one graph with
> primary and secondary axes for both X&Y, that would
> accommodate both the primary and secondary set of
> Date/H/L/C data.
>
> Thanks,
> Jeff Baum
>
>

  Reply With Quote
Old 24-11-2003, 05:51 PM   #3
Jon Peltier
Guest
 
Posts: n/a
Default Re: Plotting 2 stock series?

Jeff -

Each set of axes can have its own high-low lines, so plot your values
for one stock (Hi1, Lo1, Close1) on the primary axis, and for the other
stock (Hi2, Lo2, Close2) on the secondary axis. Format all hi and low
series to have no markers and no lines, so they are invisible. Format
both close series to use the half tick markers and no lines, and on the
Options tab for both, select High-Low lines. You can format different
colors for the high-low lines for the two axes. Right click on the
chart, select Chart Options, and on the Axes tab, uncheck the secondary
Y axis, so the stocks are on the same scale. If the ranges for the two
charts overlap, the high-low lines will merge together.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______

Jeff Baum wrote:

> Does anyone know if it is possible to plot 2 series of
> stock data on 1 graph? In other words, I'd like to take
> 2 sets of H-L-C data, and then create one graph with
> primary and secondary axes for both X&Y, that would
> accommodate both the primary and secondary set of
> Date/H/L/C data.
>
> Thanks,
> Jeff Baum
>


  Reply With Quote
Old 26-11-2003, 10:23 PM   #4
Jeff Baum
Guest
 
Posts: n/a
Default Re: Plotting 2 stock series?

I can't seem to get this to work. How do I plot these
values? I can highlight 4 columns (date1,hi1,lo1,close1)
and use the chart wizard to create a stock hi-low chart
for the 1st series, but I cannot figure out how to create
a second hi-low series on the graph. Any suggestions?

Thanks,
Jeff

>-----Original Message-----
>Jeff -
>
>Each set of axes can have its own high-low lines, so

plot your values
>for one stock (Hi1, Lo1, Close1) on the primary axis,

and for the other
>stock (Hi2, Lo2, Close2) on the secondary axis. Format

all hi and low
>series to have no markers and no lines, so they are

invisible. Format
>both close series to use the half tick markers and no

lines, and on the
>Options tab for both, select High-Low lines. You can

format different
>colors for the high-low lines for the two axes. Right

click on the
>chart, select Chart Options, and on the Axes tab,

uncheck the secondary
>Y axis, so the stocks are on the same scale. If the

ranges for the two
>charts overlap, the high-low lines will merge together.
>
>- Jon
>-------
>Jon Peltier, Microsoft Excel MVP
>http://www.geocities.com/jonpeltier/Excel/index.html
>_______
>
>Jeff Baum wrote:
>
>> Does anyone know if it is possible to plot 2 series of
>> stock data on 1 graph? In other words, I'd like to

take
>> 2 sets of H-L-C data, and then create one graph with
>> primary and secondary axes for both X&Y, that would
>> accommodate both the primary and secondary set of
>> Date/H/L/C data.
>>
>> Thanks,
>> Jeff Baum
>>

>
>.
>

  Reply With Quote
Old 28-11-2003, 04:28 PM   #5
Jon Peltier
Guest
 
Posts: n/a
Default Re: Plotting 2 stock series?

Jeff -

You don't need to create a stock chart in the first place, just a line
chart. Let the wizard make all the series with lines and markers, then
format the patterns and axes of the series as I described in my earlier
post.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
http://www.geocities.com/jonpeltier/Excel/index.html
_______

Jeff Baum wrote:
> I can't seem to get this to work. How do I plot these
> values? I can highlight 4 columns (date1,hi1,lo1,close1)
> and use the chart wizard to create a stock hi-low chart
> for the 1st series, but I cannot figure out how to create
> a second hi-low series on the graph. Any suggestions?
>
> Thanks,
> Jeff
>
>
>>-----Original Message-----
>>Jeff -
>>
>>Each set of axes can have its own high-low lines, so

>
> plot your values
>
>>for one stock (Hi1, Lo1, Close1) on the primary axis,

>
> and for the other
>
>>stock (Hi2, Lo2, Close2) on the secondary axis. Format

>
> all hi and low
>
>>series to have no markers and no lines, so they are

>
> invisible. Format
>
>>both close series to use the half tick markers and no

>
> lines, and on the
>
>>Options tab for both, select High-Low lines. You can

>
> format different
>
>>colors for the high-low lines for the two axes. Right

>
> click on the
>
>>chart, select Chart Options, and on the Axes tab,

>
> uncheck the secondary
>
>>Y axis, so the stocks are on the same scale. If the

>
> ranges for the two
>
>>charts overlap, the high-low lines will merge together.
>>
>>- Jon
>>-------
>>Jon Peltier, Microsoft Excel MVP
>>http://www.geocities.com/jonpeltier/Excel/index.html
>>_______
>>
>>Jeff Baum wrote:
>>
>>
>>>Does anyone know if it is possible to plot 2 series of
>>>stock data on 1 graph? In other words, I'd like to

>>

> take
>
>>>2 sets of H-L-C data, and then create one graph with
>>>primary and secondary axes for both X&Y, that would
>>>accommodate both the primary and secondary set of
>>>Date/H/L/C data.
>>>
>>>Thanks,
>>>Jeff Baum
>>>

>>
>>.
>>

>


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off