main library

Classes

BollingerBandsIndicator
Bollinger Bands Indicator (Upper, Middle, Lower).
Candle
Represents an immutable OHLCV (Open, High, Low, Close, Volume) data bar.
CandleBuilder
Aggregates a stream of real-time Tick events into normalized Candle bars.
ChartAlert
Represents an active or triggered visual price alert on the chart canvas.
ChartDataSource
Normalized contract for market data providers (REST + WebSocket). The chart engine only interacts with this interface, maintaining zero coupling to any specific broker or provider API.
ChartDrawing
Represents a persistent interactive user drawing on the chart canvas.
ChartDrawingToolbar
Professional vertical drawing toolbar docked on the left side of the chart. Provides 1-click access to Trendline, Horizontal Line, Fibonacci Retracements, Long/Short Risk:Reward Position Boxes, and Measurement Ruler.
ChartExporter
Utility class for capturing high-DPI snapshots of the chart canvas.
ChartHeader
Row 2: Symbol & Telemetry Bar showing: Selected symbol name, exchange badge, LTP (Last Traded Price), net change, and live OHLCV stats.
ChartOrder
Represents a trading order displayed on the chart canvas with support for attached Take Profit (TP) and Stop Loss (SL) brackets.
ChartPainter
Primary CustomPainter coordinating the high-performance Skia/Impeller rendering pipeline.
ChartPaneLayout
Computes and holds the bounding rectangles for chart panes and axes, supporting both single and multiple stacked sub-panes (e.g. RSI and MACD concurrently).
ChartPosition
Represents an executed open trading position displayed on the chart canvas with real-time unrealized P&L tracking and connected protective TP/SL brackets.
ChartSettingsModal
ChartTheme
Styling and color tokens for the charting engine.
ChartToolbar
Row 1: Primary Toolbar containing: Search, Interval Dropdown, Candles Dropdown, Indicators Dropdown, Refresh, Dark/Light Mode, Settings, Replay, Snapshot, Shortcuts.
ChartViewport
Represents the virtual viewport and visible index window of the chart.
CoordinateConverter
Provides bidirectional conversions between Chart Coordinates (Index, Price) and Screen Canvas Pixels (X, Y).
DrawingActionToolbar
Sleek TradingView-style floating quick-action toolbar that appears when any drawing is selected on the chart. Provides instant access to:
DrawingPoint
A geometric anchor point in chart coordinates (index and price). Using candle index and price ensures drawings remain pinned to the exact financial levels across zooming, panning, and new tick arrivals.
EMAIndicator
Exponential Moving Average (EMA) Indicator.
Indicator
Abstract definition for technical indicators.
IndicatorResult
Represents the output of an indicator calculation.
IndicatorSeries
Represents a single named line/series inside an indicator calculation.
MACDIndicator
Moving Average Convergence Divergence (MACD) Sub-Pane Indicator.
MockTradingDataSource
Highly realistic deterministic Geometric Brownian Motion & micro-structure market simulator.
PriceRange
Defines the minimum and maximum price range in a given viewport or series.
ReplayControlBar
Floating glassmorphic control bar for Bar Replay & Strategy Simulation.
RSIIndicator
Relative Strength Index (RSI) Indicator with Wilder's smoothing.
SymbolItem
SymbolSearchModal
Tick
Represents a single trade/tick event from a real-time market data feed.
TradingApp
Standalone turnkey application wrapper for the trading terminal.
TradingChart
Top-level chart presentation widget integrating the custom rendering pipeline, multi-zone scale interactions (Price Axis drag, Time Axis drag, Pinch Zoom), chart trading (hover '+' button, order lines, SL/TP brackets, open positions), and pointer tracking.
TradingChartController
Top-level controller managing chart state, gestures, viewport, indicators, and live data stream.
TradingScreen
Top-level trading terminal widget combining toolbar, header, and chart.
VisibleIndices
Pair of visible start and end indices.
VolumeProfile
Calculated Visible Range Volume Profile (VRVP) containing all price bins, the Point of Control (POC), and the Value Area (VAH / VAL).
VolumeProfileBin
Represents a single horizontal price bucket in the Volume Profile.
VWAPIndicator
Volume Weighted Average Price (VWAP) Indicator.

Enums

AlertTriggerCondition
Trigger conditions for on-chart price alerts.
CandleStyle
Available chart rendering presentation styles.
DrawingTool
Available interactive drawing tools on the chart.
OrderSide
Side of the order: Buy or Sell.
OrderStatus
Execution status of an order.
OrderType
Type of order placed on the chart.
PositionSide
Side of an open position: Long (Buy) or Short (Sell).
Timeframe
Supported chart timeframes.

Functions

main() → void

Typedefs

ImChart = TradingChart
Convenient alias for TradingChart under the brand name Im Charts.
ImChartController = TradingChartController
Convenient alias for TradingChartController under the brand name Im Charts.
ImChartsApp = TradingApp
Convenient alias for TradingApp under the brand name Im Charts.
ImTradingScreen = TradingScreen
Convenient alias for TradingScreen under the brand name Im Charts.