Stock Graphs: Open-High-Low-Close

An open-high-low-close stock graph is a graph that is specifically designed for showing the opening, high, low, and closing prices of a stock. Each stock marker displays four separate values.

The constant for this graph type is STOCK_OPEN_HILO_CLOSE.

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

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

Sample high-low-close stock graph

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

Each group in an open-high-low-close stock graph has four values:

Data guidelines for stock graphs

Data for this kind of stock graph has the following guidelines:

Example: Data in an open-high-low-close stock graph

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

Simple stock graph

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 High Mon Low Mon Close Tues Open Tues High Tues Low Tues Close
30.25 47.63 28.88 40.13 40.75 45.13 31.13 31.75

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