Use a stock chart to show the low, high, opening, and closing values of a security for a specific period. For example, get the fluctuation in stock prices each day.
You can also use stock charts, like high-low-close (HLC) or open-high-low-close (OHLC) charts, to visualize stock prices, scientific data, or other time-series data.
Learn how to add & edit a chart.
Format OHLC chart data
An open-high-low-close (OHLC) chart displays the opening, high, low and closing values of a security for a specific period. To format an OHLC chart, follow the guidance below:
- First column: Enter a label for the X axis.
- Second column (Opening value): Enter a number for the opening or initial value . This value is one vertical border of the candle.
- Third column (High value): Enter a number for the high or maximum value. This value is the top of the candle’s center line.
- Fourth column (Low value): Enter a number for the minimum value. This value is the base of the candle’s center line.
- Fifth column (Close value): Enter a number for the minimum value. This value is the second vertical border of the candle.
- Rows: Each row represents a single candlestick marker.
Note: If the value of the third column is less than the value of the fourth column, the candle will be filled. Otherwise, it'll be hollow.
Format HLC chart data
A high-low-close chart displays the high, low, and closing values of a security for a specific period. To format an HLC chart, follow the guidance below:
- First column: Enter a label for the X axis.
- Second column (High value): Enter a number for the high or maximum value. This value is the top of the center line.
- Third column (Low value): Enter a number for the low or minimum value. This value is the base of the center line.
- Fourth column (Close value): Enter a number for the closing or final value. This value is the tick mark across the vertical High-Low range line.
- Rows: Each row represents a single HLC marker.
Examples of an OHLC chart
Monthly stock price| Month | Open | High | Low | Close |
|---|---|---|---|---|
| January | $20 | $70 | $15 | $50 |
| February | $50 | $66 | $25 | $45 |
| March | $45 | $80 | $30 | $62 |
| April | $62 | $95 | $50 | $85 |
| May | $85 | $90 | $60 | $70 |