Candle Stock Graphs: Open-High-Low-Close with Volume

An open-high-low-close candle stock graph with volume is the same as an open-high-low-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 four separate values; bars in the lower part of the graph show trading volume.

The constant for this graph type is STOCK_OHLC_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-high-low-close stock graph with volume

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

Sample candle stock graph with volume

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

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

The lesser of the open and close 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-high-low-close candle stock graphs with volume

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

Example: Data in an open-high-low-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 grid of data that the stock graph displays. This example assumes that Graph.isDataRowShownAsASeries returns true.

Mon Open Mon High Mon Low Mon Close Mon Volume Tues Open Tues High Tues Low Tues Close Tues Volume
22.25 27.64 21.88 26.13 22336 26.75 35.13 21.75 23.13 25374

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