Candle Stock Graphs: Open-Close with Volume

An open-close candle stock graph with volume is the same as an open-close candle stock graph, except that it also displays the volume of shares traded in a separate area of the graph. Each stock marker displays two separate values; bars in the lower part of the graph show trading volume.

The constant for this graph type is STOCK_CANDLE_VOLUME.

Standard use of a stock graph

You use stock graphs to show more than one stock price for a stock.

Data structure of an open-close candle stock graph with volume

The following figure shows the data structure of a STOCK_CANDLE_VOLUME stock graph.

Sample candle stock graph with volume

The data structure for open-close candle stock graphs with volume is as follows:

Each group in this kind of stock graph has three measure values:

The lesser of the first two values defines the bottom of the candle. The greater value defines the top. If the closing value is greater than the opening value, then the candle is green. If the opening value is higher than the closing value, then the candle is red.

Data guidelines for open-close candle stock graphs with volume

The data for this kind of stock graph has the following guidelines:

Example: Data in an open-close candle stock graph with volume

The following graph shows the stock data for one stock for two different days.

Simple candle stock graph with volume

The following table shows the structure of the data that the stock graph displays. This example assumes that Graph.isDataRowShownAsASeries returns true.

Mon Open Mon Close Mon Volume Tues Open Tues Close Tues Volume
62.25 76.13 22336 76.75 59.13 26374

Stock Graphs
Handling Problems in Graph Data
Specifying Data for a Graph
Example: Setting Data from a File on a High-Low-Close Stock Graph