Custom indicators: write your own, share them, install others’
If an indicator is missing, write it yourself in the Matana Labs formula language: a few lines with inputs, formulas and plots, checked as you type, with a live preview on the open day. Your indicator works on the chart and in strategy rules exactly like a built-in one. You can publish it for others and install indicators others have published.
How it works

- On the chart, press Indicators, then Build your own; or in Explore press New indicator.
- Write the script: inputs (the settings people can change), formulas and the lines to draw. Errors appear under the code, by line, as you type.
- Watch the preview on the right: it is computed on the day you have open.
- Save, then put it on the chart. It also appears in Explore under My indicators and in every strategy rule.
- To share it, press Publish: it appears in Explore → Community, where others can read the script and install it. You can also save it as an indicator file and send it.
- Start from a built-in one: any catalog indicator written as a formula can be opened as a starting point.
- Describe in words: Matana AI can write the script from a sentence; you see and edit the result. It uses AI credits.
- One engine: your indicator is computed by the same code as the built-in ones, in the browser and in backtests.
The formula language at a glance
The editor has a full function reference with a hint for each. There are 86 functions and 17 built-in series:
Price series: close, open, high, low, volume, ticks, hl2, hlc3, ohlc4, hlcc4, wcp, tr, sod, bar, pi, e, na.
Functions (86): abs, alma, atan, atan2, barssince, beta, ceil, change, correl, cos, cross, crossover, crossunder, cum, dema, ema, emaa, entropy, exp, falling, floor, fwma, highest, highestbars, hma, ht_fama, ht_inphase, ht_lead, ht_mama, ht_mode, ht_period, ht_phase, ht_quadrature, ht_sine, ht_smoothperiod, ht_trendline, hwma, iff, intercept, kama, kurtosis, linreg, log, log10, lowest, lowestbars, mad, max, mcgd, median, min, nz, percentrank, pow, pwma, quantile, rising, rma, roc, round, rsi, runmax, runmin, shift, sign, sin, sinwma, skew, slope, sma, smma, sqrt, ssf, stdev, sum, swma, t3, tema, trima, tsf, valuewhen, variance, vidya, wma, zlema, zscore.
What you get on each plan
Writing, publishing and installing indicators is on every plan. Describing an indicator in words uses AI credits:
| Plan | Price | Smallest bar | AI credits a month |
|---|---|---|---|
| Explore | Free | 10-minute | 40 |
| Builder | $39/month | 1-minute (better than Explore) | 200 (better than Explore) |
| Pro | $49/month | 30-second (better than Builder) | 330 (better than Builder) |
| Quant | $89/month | 1-second (better than Pro) | 800 (better than Pro) |
Highlighted: better than the plan above. Compare every plan side by side on the pricing page
Limits
- Scripts from other platforms’ languages can’t be imported as they are; they have to be written in the formula language.
- Community indicators are written by other people. Read the script before you rely on it; installing makes your own copy.
- A script that would take too long to compute is refused, so an installed indicator can’t freeze the app.
Keep reading
Questions
Do I need to know how to program?
Not much. A script is a few lines of formulas, the editor explains errors in plain words, and you can start from any built-in indicator or describe the indicator in words to Matana AI.
Can I use my indicator in a backtest?
Yes. Your indicator is available in every strategy rule and is computed by the same engine as the built-in indicators.
Do my indicators move with my account?
Yes. They are stored in your account, so they are there on any device you sign in on.