Skip to main content
Six capabilities you do not get from a fixed indicator library. Each one is a few lines of Indie, and each example below is taken from a page in this documentation where it is explained in full. New to the language? Why Indie covers the reasoning; Quick start covers the first script.

1. Your own data next to price

Macro figures, on-chain metrics, funding rates, your own trading journal — anything you can publish as a CSV over HTTPS becomes a series on the chart, read as candles, as typed rows, or directly with request_series.
External candle close
No exchange offers this, because it is not exchange data. It is yours.
Scripts using external data cannot be published to the Marketplace — they stay private to your account.
External data →

2. A summary that stays on the chart

Session statistics, current values, signal counts, risk numbers — in a table pinned to a corner of the chart, so the reader does not have to hover over a line to find them.
Market summary table
Tables hold up to 50 rows and 20 columns. Drawings: lines, labels, tables →

3. Another instrument, or a faster timeframe

An indicator on the hourly chart can calculate its logic on the minute chart, or pull the daily high and low of a different instrument. Context.calc_on() runs a second context and merges the result into your timescale.
Minimal calc_on example
Higher and lower timeframes are both supported — lower ones since v5.14. Request additional instruments →

4. Candles coloured by your own rule

Instead of a signal in a separate pane that you have to correlate with price by eye, colour the bars themselves — volume spikes, trend shifts, whatever your rule says.
Volume Spike Bar Color
Returning None leaves the bar with its default colour. Data plotting →

5. Your own trading sessions

Market hours differ by venue, and most rules only make sense inside a session. A schedule is a set of rules with a timezone and its own exceptions, and any bar can be tested against it.
Session schedule
Overnight sessions, 24/7 markets and single-day exceptions are all covered. Schedules and trading sessions →

6. Rules that place orders — and get tested

An indicator that places orders is a strategy. The same file that drew your signal can open, reverse and close a position, then be measured over history in the Strategy tester.
Inside Bar strategy
Limit and stop prices, take profit, stop loss, amend and cancel are all available on the order builder. Strategies and backtesting →

Where to go next

Quick start

Your first indicator, step by step.

Build it with AI

Describe the idea and let an LLM write and validate the Indie code.

Code examples

Longer, ready-to-run indicators and strategies.