Stock Chart Comparing Prices
Stock Chart comes with a Comparison control (see top left corner) which is used to allow users interactively add additional data series for comparison with the main dataset.
When you add series for comparison the chart switched into a “percent mode” by default.
Related tutorials
Build this chart with AI
The prompt below can be used to build this chart with AI. For best coding results, use the most advanced AI models, like Claude Opus 4.6 and GPT-5.3-Codex. For more info and tips, check out amCharts AI docs.
Create a stock chart that supports comparing multiple stock price series side by side. Display a primary ticker as candlesticks with volume columns beneath, and allow users to add up to 5 comparison tickers via a searchable dropdown control. When comparison series are added, automatically switch to percent mode to normalize all series for meaningful relative performance analysis. Include a stock toolbar with a main series selector, a comparison add/remove control, series type switcher, indicator control, date range selector, period selector, drawing tools, reset, and settings. Add a date axis, dual value axes for price and volume, a crosshair cursor, a scrollbar for navigation, and a stock legend displaying real-time values for all visible series. Load data from CSV files. Use amCharts 5 library.
Demo source