Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Help with Scroll and Zoom Bar for Candle Chart

I am currently doing data manipulation for my series of data. I have
Time, Open, High, Low, Close. There are approximately 6000 rows of
data that I need to input into the Candle Chart and to do that I
require a Scroll and Zoom function. I have been using a template for
Scroll/Zoom for a normal basic Line Chart and attempted to reconfigure
for a Candle Chart. I have named the following:

SCROLLVALUE=Sheet1!$S$31
SERIES1==OFFSET(Sheet1!$B$1,SCROLLVALUE,0,ZOOMVALU E,1)
SERIES2==OFFSET(Sheet1!$C$1,SCROLLVALUE,0,ZOOMVALU E,1)
SERIES3==OFFSET(Sheet1!$D$1,SCROLLVALUE,0,ZOOMVALU E,1)
SERIES4==OFFSET(Sheet1!$E$1,SCROLLVALUE,0,ZOOMVALU E,1)
TIME==OFFSET(SCROLL_TESTER.xls!SERIES1,0,-1)
ZOOMVALUE==Sheet2!$S$29

Then I go into 'Select the Data Source' in the actual Candle Chart and
try to enter the following details for the X-axis (time) and Series 1,
Series 2, Series 3, Series 4 (all required to draw a Candle Chart in
Excel):

='SCROLL_TESTER.XLSX'!TIME
='SCROLL_TESTER.XLSX'!SERIES1
='SCROLL_TESTER.XLSX'!SERIES2
='SCROLL_TESTER.XLSX'!SERIES3
='SCROLL_TESTER.XLSX'!SERIES4

Then Excel states an error saying that either the Formula or Worksheet
or Cell Reference is incorrect. I believe the only error is in the
actual naming and defining of the range through the OFFSET function
however when I double check it seems correct to my knowledge (due to
my lack of).

If anyone could provide some help into getting the Scroll/Zoom
function to work properly for the Candle Chart. I have seen it done
before. Or if you know any other method/program that has greater
efficiency then please also suggest. Thanks for your help in advance.

I can also send you the original workbook if it is of any help.

Cheers,

Chris
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Help with Scroll and Zoom Bar for Candle Chart

I can't tell what's wrong. Nominally it looks okay.

To make things easy, I typically only define one name in very much detail,
then base the others on that one.

Time
=OFFSET(Sheet1!$A$1,SCROLLVALUE,0,ZOOMVALUE,1)

Open
=OFFSET(Time,0,1)

High
=OFFSET(Time,0,2)

Low
=OFFSET(Time,0,3)

Close
=OFFSET(Time,0,4)

Test to make sure Time represents an actual range. In the Define Names
dialog, click on the name Time in the list, then click in the refers to
formula, and the range should be highlighted by the marching ants outline.
If it isn't, make sure Zoomvalue is greater than zero.

From here it's a straightforward procedure to assign names to X values and Y
values. It sounds like you've done this before. I've just tested it in 2007,
and it's really just the same as in earlier versions.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


wrote in message
...
I am currently doing data manipulation for my series of data. I have
Time, Open, High, Low, Close. There are approximately 6000 rows of
data that I need to input into the Candle Chart and to do that I
require a Scroll and Zoom function. I have been using a template for
Scroll/Zoom for a normal basic Line Chart and attempted to reconfigure
for a Candle Chart. I have named the following:

SCROLLVALUE=Sheet1!$S$31
SERIES1==OFFSET(Sheet1!$B$1,SCROLLVALUE,0,ZOOMVALU E,1)
SERIES2==OFFSET(Sheet1!$C$1,SCROLLVALUE,0,ZOOMVALU E,1)
SERIES3==OFFSET(Sheet1!$D$1,SCROLLVALUE,0,ZOOMVALU E,1)
SERIES4==OFFSET(Sheet1!$E$1,SCROLLVALUE,0,ZOOMVALU E,1)
TIME==OFFSET(SCROLL_TESTER.xls!SERIES1,0,-1)
ZOOMVALUE==Sheet2!$S$29

Then I go into 'Select the Data Source' in the actual Candle Chart and
try to enter the following details for the X-axis (time) and Series 1,
Series 2, Series 3, Series 4 (all required to draw a Candle Chart in
Excel):

='SCROLL_TESTER.XLSX'!TIME
='SCROLL_TESTER.XLSX'!SERIES1
='SCROLL_TESTER.XLSX'!SERIES2
='SCROLL_TESTER.XLSX'!SERIES3
='SCROLL_TESTER.XLSX'!SERIES4

Then Excel states an error saying that either the Formula or Worksheet
or Cell Reference is incorrect. I believe the only error is in the
actual naming and defining of the range through the OFFSET function
however when I double check it seems correct to my knowledge (due to
my lack of).

If anyone could provide some help into getting the Scroll/Zoom
function to work properly for the Candle Chart. I have seen it done
before. Or if you know any other method/program that has greater
efficiency then please also suggest. Thanks for your help in advance.

I can also send you the original workbook if it is of any help.

Cheers,

Chris



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default Help with Scroll and Zoom Bar for Candle Chart

Hi Jon,

I tried the method as you suggested and it works successfully. Thank
you very much for your help.


Also is it possible to add in a vertical line per every single 'x'
variable candle so that I am able to see each day clearly. For e.g. I
want to have a vertical line down the graph every 12 candles in the
candle chart graph.

I have seen this done in another chart excel file I have however I do
not know how to add this function as the excel file has been locked
and password protected.


Cheers,

Chris

  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Help with Scroll and Zoom Bar for Candle Chart

You can use the combination of major gridlines (use light gray instead of
the default black!), and changing the X axis scale so the Y axis does not
cross between categories. Though keeping the Y axis crossing between
categories will put a line between each candlestick, which may also work.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


wrote in message
...
Hi Jon,

I tried the method as you suggested and it works successfully. Thank
you very much for your help.


Also is it possible to add in a vertical line per every single 'x'
variable candle so that I am able to see each day clearly. For e.g. I
want to have a vertical line down the graph every 12 candles in the
candle chart graph.

I have seen this done in another chart excel file I have however I do
not know how to add this function as the excel file has been locked
and password protected.


Cheers,

Chris



  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 2
Default Help with Scroll and Zoom Bar for Candle Chart

Excellent I got it to work. Thanks Jon.

Chris



  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Candlestick chart scrolling and zooming

Hi, Chris, I've been trying to do the same. Would you please send me an Excel template for scrolling and zooming Candlestick chart? My email address is . Thank you very much.


Shenghui
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
scroll/zoom xy chart [email protected] Charts and Charting in Excel 4 January 2nd 08 08:36 PM
Help for Scroll and Zoom Charts Prince Ali Charts and Charting in Excel 4 November 25th 06 11:30 AM
Can a zoom in/out chart be made? Ram Nemesis Charts and Charting in Excel 1 February 7th 05 06:01 PM
Combine candle and line in a single chart Bert Charts and Charting in Excel 1 January 20th 05 01:08 PM
Combine candle and line in a single chart Bert Charts and Charting in Excel 4 January 19th 05 07:23 AM


All times are GMT +1. The time now is 04:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"