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 theHighcharts.stockChart() constructor:
Key Features
Navigator and Scrollbar
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.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…
- 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
turboThresholdto control when optimization kicks in - Consider lazy loading data as users zoom and pan
- Use appropriate approximation functions for your data type
Related Resources
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
- Explore Technical Indicators for advanced analysis
- Learn about Data Grouping for performance optimization
- Check out Financial Chart Types for different visualization options
- Try the Stock Tools for interactive chart annotation