Matana Labs

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

The indicator editor: a script with line numbers on the left, Describe in words, Reference, File, Publish and To chart on top, a live preview and the indicator’s settings on the right
The indicator editor: script, live preview and settings.
  1. On the chart, press Indicators, then Build your own; or in Explore press New indicator.
  2. 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.
  3. Watch the preview on the right: it is computed on the day you have open.
  4. Save, then put it on the chart. It also appears in Explore under My indicators and in every strategy rule.
  5. 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.

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:

PlanPriceSmallest barAI credits a month
ExploreFree10-minute40
Builder$39/month1-minute (better than Explore)200 (better than Explore)
Pro$49/month30-second (better than Builder)330 (better than Builder)
Quant$89/month1-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

Screenshots show the real app on a test data set. Backtests and simulations are not real trading, and past results don’t guarantee future ones. Not investment advice.

Keep reading

See Matana Labs plans, from free

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.