ApexStock Demos
Browse all ApexStock sample demos. Click any thumbnail to see the live demo and source code.
The chart

Basic Stock Chart
OHLC data in, a candlestick chart with a toolbar and indicators out.

Time-frame Aggregation
Range and interval are independent: setVisibleRange for the window, aggregateOHLC for the bar size.

Price Scale Modes
Linear, logarithmic, percent-change and indexed axes. Only log changes the gridline distribution.

Large Dataset
Thousands of bars, zoomed and panned, with the indicators recomputing.

Realtime Streaming
appendData on a live feed, with the indicators stepping incrementally rather than recomputing.
Analysis

Range Analysis
measureRange reports change, volatility and the deepest drawdown over the bars it spans, with an on-chart panel.

Comparison Mode
Several instruments aligned onto one x grid, rebased, and ranked against a benchmark.

Cross-Chart Sync
ApexStock.sync mirrors the visible range and the crosshair across independent instances.
Drawing & annotation

Trading Overlays
Draggable price lines for entry, stop and target, with cross and move callbacks.

Event Markers
Earnings, dividends and splits flagged along the x-axis, reprojected through zoom and pan.

Data Legend
An on-chart OHLC readout that tracks the crosshair and stays in sync as indicators toggle.


