main
library
Classes
ADXIndicator
Average Directional Index (ADX) with +DI and -DI lines.
Measures trend strength (ADX) and direction (+DI vs -DI).
Displayed in a sub-pane. ADX > 25 = strong trend.
AssignmentNode
Represents a variable assignment in a script: basis = sma(close, 20).
ATRIndicator
Average True Range (ATR) indicator with Wilder's smoothing.
Measures market volatility as a sub-pane line oscillator.
BinaryOpNode
Represents binary operators (+, -, *, /, %, ^, >, <, >=, <=, ==, !=, and, or).
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.
CCIIndicator
Commodity Channel Index (CCI) indicator.
Momentum oscillator measuring price deviation from its statistical mean.
Horizontal reference levels at +100 (Overbought) and -100 (Oversold).
ChandelierExitIndicator
Chandelier Exit indicator by Chuck LeBeau / Alexander Elder.
A volatility-based trailing stop indicator using Average True Range (ATR).
Plots Long Exit (support) and Short Exit (resistance) lines.
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 and exporting data.
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.
ChartSaveStatusBadge
Animated toolbar badge showing real-time chart synchronization and save status.
ChartSettingsModal
ChartSyncGroup
Coordinator that manages synchronization between multiple TradingChartController instances.
ChartTheme
Styling and color tokens for the charting engine.
ChartToast
Trading terminal toast notification system.
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.
ColorLiteralNode
Represents a color literal (e.g. #00E676, #FF5252).
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.
FormulaEditorModal
Modal dialog for authoring, testing, and mounting custom PineScript formulas.
FormulaEvaluator
Evaluates a parsed formula AST over a series of candles.
FormulaIndicator
Technical indicator driven dynamically by a user-defined PineScript formula.
FormulaLexer
Lexer / Tokenizer for PineScript-like formulas and indicator scripts.
FormulaNode
Base abstract class for all nodes in the Formula Abstract Syntax Tree (AST).
FormulaParser
Recursive descent parser for PineScript-like formulas and indicator scripts.
FormulaToken
Token produced by FormulaLexer .
FunctionCallNode
Represents a function invocation (e.g. sma(close, 20), rsi(close, 14)).
FVGZone
Represents a Fair Value Gap (FVG / Imbalance) identified between three consecutive candles.
HistoryOffsetNode
Represents historical bar indexing (e.g. close[1], high[2]).
HMAIndicator
Hull Moving Average — WMA(2*WMA(n/2) − WMA(n), sqrt(n)).
Extremely low lag while remaining smooth — ideal for trend-following.
IchimokuIndicator
Ichimoku Kinko Hyo (Ichimoku Cloud) indicator.
Overlay indicator comprising Tenkan-sen (Conversion Line), Kijun-sen (Base Line),
Senkou Span A (Leading Span A), and Senkou Span B (Leading Span B).
ImChart
The easiest, zero-boilerplate entry point for Im Charts .
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.
MultiChartContainer
Production-ready synchronized multi-chart container.
NumberLiteralNode
Represents a numeric literal (e.g. 20, 3.14, -1.5).
OBVIndicator
On-Balance Volume (OBV) — cumulative volume with direction from close change.
Rising OBV = buying pressure; falling OBV = selling pressure.
Displayed in a sub-pane.
OrderBlockZone
Represents an institutional supply or demand Order Block.
ParabolicSarIndicator
Parabolic SAR (Stop and Reverse) technical indicator.
Plots dots trailing price to identify directional trends and trailing stop reversals.
PivotPointsIndicator
Classic Pivot Points — P, R1, R2, R3, S1, S2, S3 as horizontal overlay levels.
Computed from the previous session's High, Low, and Close.
The most recent complete session is used (second-to-last candle group by day).
PlotNode
Represents a plot(series, title="...", color=...) statement.
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.
ScriptNode
Represents a complete multi-statement script.
SeriesVarNode
Represents a reference to a candle series variable
(e.g. close, open, high, low, volume, hl2, hlc3, ohlc4).
SMAIndicator
Simple Moving Average (SMA) Indicator.
SmartMoneyConcepts
Result of the Smart Money Concepts detection engine.
SMCRenderer
Institutional Skia/Impeller hardware-accelerated renderer for Smart Money Concepts (SMC):
Fair Value Gaps (FVG), Break of Structure (BOS), Change of Character (CHoCH), and Order Blocks (OB).
StaticChartDataSource
An in-memory, zero-boilerplate implementation of ChartDataSource .
StochasticIndicator
Stochastic Oscillator indicator (%K and %D lines).
Renders as a sub-pane oscillator with 80 (Overbought) and 20 (Oversold) threshold lines.
StringLiteralNode
Represents a string literal (e.g. "Upper Band").
StructureBreak
Represents a structural break of a prior swing high or swing low.
SupertrendIndicator
Supertrend technical indicator using Average True Range (ATR).
Computes upper band (resistance in downtrend) and lower band (support in uptrend).
SymbolItem
SymbolSearchModal
TernaryNode
Represents ternary conditional expressions: condition ? ifTrue : ifFalse.
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.
UnaryOpNode
Represents unary prefix operators (e.g. -x, +x, not x, !x).
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.
WilliamsRIndicator
Williams %R Momentum Oscillator indicator.
Ranges from -100 to 0 with overbought level at -20 and oversold level at -80.
WMAIndicator
Weighted Moving Average (WMA) — assigns linearly increasing weights to recent closes.