When to Use Stock Charts
Use stock charts when you need to:- Display stock prices and trading data
- Show OHLC (Open-High-Low-Close) candlestick charts
- Add technical indicators (SMA, EMA, MACD, RSI, etc.)
- Compare multiple stocks or instruments
- Provide drawing tools for analysis
- Create multi-panel layouts with different indicators
Creating a Stock Chart
Here’s a complete example:Configuration Options
Main Stock Series
Set the main series to enable indicators and comparison features.
Color Settings
Customize positive/negative colors:Percent Scale Mode
Adding Controls
Stock Toolbar
Technical Indicators
Adding an Indicator
SimpleMovingAverage(SMA)ExponentialMovingAverage(EMA)MACDRSIBollingerBandsStochasticOscillatorVolume- And many more…
Comparing Series
Drawing Tools
Multi-Panel Layout
- Create main panel for price data
- Add volume panel below
- Add indicator panels as needed
- Panels automatically sync X-axis zoom/pan
Key Classes
StockChart- Main stock chart containerStockPanel- Individual chart panelStockToolbar- Toolbar with controlsCandlestickSeries- OHLC candlestick series- Various indicator classes (SMA, EMA, MACD, etc.)
DrawingSeries- Drawing tools
Stock Chart requires a separate license. Ensure you have a valid AM5S license key.