Quantblocks
EN DE
Start Free
How it works

How do I build an indicator?

A custom indicator is a small reusable calculation. You build it once, then drop it into any strategy like a built-in indicator. The example above is the smallest possible indicator: it averages the close price over the last 20 bars.

  1. Open the indicator builder

    From the dashboard, click New Indicator. The builder is the same canvas as the strategy editor, but with a smaller block palette focused on math, transforms and conditions.

  2. Start with the Input block

    Every custom indicator begins with an Input block. It is the data the indicator receives when used in a strategy — usually OHLCV (the full candle).

  3. Build the calculation

    Pick the part of the candle you need (for example Close), then chain transforms and math blocks. The example uses Rolling Mean with period 20 — the building block of a Simple Moving Average.

  4. End with the Output block

    Connect the result into an Output block and give it a name like value, upper, or lower. This name is what you select when the indicator has multiple outputs (for example Bollinger Bands).

  5. Save and reuse

    Save the indicator. It now appears in the My Indicators category of the strategy editor and behaves exactly like a built-in indicator.