Skip to main content
Highcharts Stock is a specialized charting library built on top of Highcharts Core, designed for visualizing time series data and financial charts. It includes all the features of Highcharts, plus advanced functionality for stock market analysis, technical indicators, and time-based data exploration.

Overview

Highcharts Stock extends Highcharts with powerful features for financial and time series data visualization, including:
  • Navigator: Fine-tune the visible range and scroll through large datasets
  • Range Selector: Quickly select predefined time ranges or specify exact intervals
  • Technical Indicators: 50+ built-in indicators for financial analysis
  • Financial Chart Types: Candlestick, OHLC, HLC, Heikin Ashi, and more
  • Data Grouping: Automatic point aggregation for improved performance
  • Advanced Crosshairs: Track data points across multiple series

Installation

ES6 Module Import

Getting Started

Create your first stock chart with the Highcharts.stockChart() constructor:

Key Features

The navigator provides a small overview chart that allows users to select and scroll through different time ranges.

Navigator

The navigator appears below the main chart and shows a condensed view of the entire dataset, with handles to adjust the visible range.

Range Selector

Quickly select common time ranges or specify custom date intervals.

Financial Chart Types

Candlestick

Display open, high, low, and close prices with colored bodies showing price direction

OHLC

Show open, high, low, and close as vertical lines with horizontal ticks

HLC

Display high, low, and close prices without open values

Heikin Ashi

Modified candlestick chart that smooths price data to identify trends

Technical Indicators

Highcharts Stock includes 50+ technical indicators for financial analysis. Indicators are implemented as series linked to the main data.
1

Load the indicators module

2

Load specific indicator modules

3

Add indicators to your chart

Available Indicators

Overlays (same scale as price chart):
  • SMA (Simple Moving Average)
  • EMA (Exponential Moving Average)
  • Bollinger Bands
  • Pivot Points
  • VWAP (Volume Weighted Average Price)
  • And many more…
Oscillators (separate axis):
  • RSI (Relative Strength Index)
  • MACD (Moving Average Convergence Divergence)
  • Stochastic
  • CCI (Commodity Channel Index)
  • ATR (Average True Range)
  • And many more…

Data Grouping

Automatically aggregate data points based on zoom level for improved performance with large datasets.

Advanced Examples

Candlestick with Volume

MACD with Pivot Points

Comparing Multiple Stocks

Stock Tools

Stock Tools provide an advanced GUI for drawing annotations and managing indicators.

Performance Tips

Optimize Large Datasets

  • Enable data grouping for datasets with thousands of points
  • Use turboThreshold to control when optimization kicks in
  • Consider lazy loading data as users zoom and pan
  • Use appropriate approximation functions for your data type

API Reference

Complete Highcharts Stock API documentation

Live Demos

Interactive examples and demos

Technical Indicators

Full list of 50+ available technical indicators

Chart Types

Explore all financial chart types available

Next Steps