I Built a Trading Chart From Scratch. Meet Tickr.
107 indicators, 31 drawing tools, saved layouts and an on-chart order window, drawn on a plain HTML canvas with zero dependencies. Here is everything Tickr can do, what improved since launch, why it is fast, and how to plug your own data into it.
Every trading product eventually needs a chart. Most teams reach for an off-the-shelf library, and that works until you want something the library does not allow: your own order lines on the chart, your own layout storage, your own look. I hit that wall, so I built the chart myself. It is called Tickr.

Why build another chart?
- Ownership. No licence terms, no watermark, no feature locked behind a tier, and no waiting for a vendor to support what you need.
- Trading on the chart. Order lines, drag-to-modify and a right-click order menu need access to the chart's internals, which closed libraries do not give you.
- Speed. A canvas engine draws thousands of candles in a couple of milliseconds, so live ticks never make it stutter.
- Zero dependencies. The drawing engine is plain JavaScript. React only wraps the toolbar and menus.
What is in the box
8 chart types
Candles, hollow candles, bars, line, line with markers, step line, area and Heikin Ashi. Switching is one click and keeps your indicators and drawings.
107 indicators
The picker offers the PF indicator library: 107 indicators, searchable by name or short name. The 21 that Tickr first shipped with are still computed, so layouts saved earlier keep loading, but they are hidden from the picker. Here is that original set:
Eleven draw on the price chart itself:
- Moving averages: SMA, EMA, WMA, Hull MA and volume-weighted MA
- VWAP
- Bands and channels: Bollinger Bands, Keltner Channels, Donchian Channels
- Trend: Supertrend and Parabolic SAR
Ten get their own pane under the chart:
- Momentum: RSI, MACD, Stochastic, CCI, Williams %R, ROC and Momentum
- Trend strength and volatility: ADX and ATR
- Volume: On Balance Volume
Every indicator has editable settings (periods, multipliers) and can be stacked as many times as you like.

31 drawing tools
Trend line, ray, extended line, arrow, horizontal line and ray, vertical line, cross line; Fibonacci retracement and trend-based extension; parallel channel; rectangle, ellipse and triangle; long and short position planners; a measure tool; brush and highlighter; notes, price labels and icons.
Nine tools were added after launch: forecast, bars pattern, ghost feed, projection, anchored VWAP, fixed-range volume profile, price range, date range and date-and-price range. They sit in two new toolbar groups, Volume-based and Measurer.
Drawings are editable after you place them: drag the handles, restyle colour and width, lock them, hide them all with one toggle, undo and redo any change. They are saved per symbol automatically, so they are still there tomorrow.
Navigate and analyse
- 15 timeframes from 1 minute to 1 month, plus quick ranges (5Y, 1Y, 6M, 3M, 1M, 5D, 1D)
- Go-to-date dialog, one-click Fit, and floating zoom and scroll buttons
- Auto, logarithmic and percentage price scales
- Magnet mode so drawings snap to candle prices
- Full screen and a PNG snapshot of the chart
- Older history loads automatically as you scroll back
Right-click the chart for the context menu, scroll to zoom around the cursor, scroll over the price axis to rescale it, and press Escape to cancel any tool.
Try it yourself
The demo runs on live NIFTY 50. Open the intro page first, then launch the chart and add an indicator or draw a trend line.
Open the live demoLight, dark and saved layouts
Tickr ships with light and dark themes and remembers your choice. Layouts go further: save a named snapshot of your timeframe, chart type, theme and indicators (plus the drawings of the symbol you saved it on) and load it again whenever you like.

Bring your own data
Tickr owns no data source. You give it two functions: one that loads candles, and optionally one that delivers live ticks. That is the entire integration, so it works with any broker, any REST API, any websocket.
<Tickr
symbol="NIFTY 50"
exchange="NSE"
getBars={({ resolution, beforeMs }) =>
loadCandles(resolution, beforeMs)} // -> { bars, noData }
subscribe={(onTick) => feed.listen(onTick)} // -> unsubscribe fn
brand="YOURSITE.COM"
/>A bar is { time, open, high, low, close, volume } and a tick is { ltp, volume, tickSec }. The library also exports a small simulated feed for demos and tests.
How live data stays smooth
Built to be fast
The chart is drawn on a single canvas rather than as thousands of DOM elements. In headless Chrome on my laptop, drawing 8,000 bars with five indicators takes about 1.3 ms for a static frame and about 2.3 ms for a live frame with a tick landing. That leaves plenty of headroom inside a 16 ms frame budget, even while a websocket is streaming.
Trusting the numbers
A chart that shows a wrong RSI is worse than no chart. The original 21 indicators are checked against a reference implementation written separately in Python, and the test run fails if any of them drifts. The canvas engine is tested in a real browser (interactions, drawings, zoom, scales, themes), and there is an integration suite that runs the full component against mocked market and order data.
Trade without leaving the chart
Tickr started life inside a live broker platform, and the order window now ships in the library. It is on by default and sends nothing anywhere on its own: every action goes to a callback you provide, or to the browser console if you provide none.
- Open positions appear as a line labelled with quantity and live P&L that moves with every tick. One click on ร exits the position.
- Pending orders appear as dashed lines. Drag one to a new price (with a confirm step) or click ร to cancel it.
- Right-click at any price for Buy Limit or Sell SL Market at exactly that price, or buy and sell at market.
- A draggable order ticket with Limit, Market, SL Market and SL Limit, lots, and intraday or delivery.
- Cover and bracket orders: set stop-loss and target as prices on the chart (switched on with allowBracket).
- Market depth beside the ticket: the top five bids and asks, and clicking a price fills the ticket.
- Guard rails: the quantity, price and stop-loss checks run in the ticket, your host decides what is allowed (for example no orders on indices), and a failure message you return is shown on the chart.
The demo is not connected to a broker. Place an order in it and the payload is printed to the browser console (open DevTools to see it), and the Simulated trading tab fills orders against a fake in-memory broker. Pass trading={false} to switch the order window off.
Improvements since launch
After Tickr went into a real trading app, a lot of changes came back from production. They are all in the library now.
Live ticks
- Bad prices are ignored. A tick with a price of zero or less never reaches a candle, and bars that carry zero placeholder prices are repaired so a zero can never become a candle low.
- A replayed closing price no longer opens a candle. A tick whose trade time is more than five minutes old is folded into the newest candle instead.
- Missed candles are backfilled. After a reconnect, after a hidden tab comes back (more than 10 seconds), or when the browser goes back online, the chart reloads the latest page and merges it in without moving your view.
- Optional isSessionOpen stops ticks opening candles outside trading hours, and optional onReconnect tells you when a backfill happened.
- Scrolling back shows a Loading older candles pill, retries if a page fails, and keeps fetching if you are still at the oldest bar.
The order window
- Position and pending-order pills with live P&L, an exit or cancel button, a clickable quantity that opens a modify ticket, and a draggable label that re-prices the order after a confirm step.
- SELL and BUY buttons under the title, a plus button next to the crosshair price, and a right-click menu for limit, stop-loss and stop-loss-limit orders at a price, plus Draw Horizontal Line.
- Hover tooltips on the pills, and pills pinned to the edge only when their price is really off the pane.
- Everything is driven by props: positions, orders, onPlaceOrder, onModifyOrder, onCancelOrder, onExitPosition, depth, lotSize, tickSize, decimals and freezeQty.
Layouts and header
- Rename layouts, with a duplicate-name check, and see the current layout name in the header with a Save, Rename, Copy and Open menu.
- A searchable Open layout dialog, newest first, showing the stock and date, with delete. Ctrl or Cmd plus S saves.
- Layouts remember the symbol they were saved on. A layout from another symbol is not applied to the wrong chart.
- The header wraps on narrow screens instead of clipping, and the bottom bar clock re-renders alone, so a ticking clock does not redraw the rest of the bar.
Engine, drawings and indicators
- Drawings can live in indicator panes, and each tool knows whether it is allowed there.
- Indicator lines can draw as histograms, markers and two-colour fills (such as a cloud), and volume profile indicators have their own renderer.
- Time-axis labels keep a minimum gap, so a month and a year no longer overlap.
- Bars with a missing high or low are skipped when scaling and drawing.
Bugs that taught me something
Honest limitations
- The demo's history comes from a free Yahoo Finance endpoint. It is unofficial, can differ slightly from NSE, and is capped by timeframe (5-minute data goes back about 60 days).
- Index data carries no volume, so the volume pane reads zero for NIFTY 50.
- There is no multi-chart grid, symbol comparison or replay mode yet.
- Modifying a stop-loss order from the chart sends only the new price and quantity. Moving an SL order's limit price along with its trigger is up to your order code.
What is next
Multi-timeframe grids, symbol comparison, bar replay, and drag-to-modify for commodity orders are on the list. The engine was written so each of them is an addition rather than a rewrite.
The best part of owning the chart is that every missing feature is a weekend away, not a feature request to someone else.
Reading is one thing. Zoom, draw a Fibonacci, stack three indicators and flip to dark mode.
Launch TickrWritten by
Mohd Shahid Iqbal
SDE3 Frontend