Function catalog
Complete list of built-in functions in @efixdata/exeria-chart. Pass Key to chart.addScript("KEY").
Functions transform series — see Functions overview if this concept is new.
Summary table
| Key | Display name | Default pane | Main inputs | Output |
|---|---|---|---|---|
HIGHEST | Highest | Overlay | HIGH (def h), PERIODS (25) | Rolling max series |
LOWEST | Lowest | Overlay | LOW (def l), PERIODS (25) | Rolling min series |
FIBONACCI | Fibonacci | Overlay | HIGH, LOW, PERIODS (24), level toggles | Multiple Fib level lines |
DISPLACE | Displace | Overlay | DSERIES, PERIODS, VALUE offset | Time-shifted series |
IGLUE | Indicator Glue | Overlay | FIRST, SECOND, OPERATION list | Combined series |
IMOD | Indicator Modifier | Overlay | SERIES, OPERATION, MODIFIER | Modified series |
IF | IF | New panel | VAL_A, VAL_B (conditional), VAL_X/Y/Z | Regime series |
SUM | Sum | New panel | INDICATOR1…INDICATOR10 (conditional) | Sum series |
AVERAGE | Average | New panel | INDICATOR1…INDICATOR10 (conditional) | Mean series |
1x | 1/x | New panel | SERIES | Reciprocal series |
Per-function reference
HIGHEST — Highest
Rolling maximum of the chosen series (default: high). Draws an upper envelope line on the main chart.
chart.addScript("HIGHEST");
LOWEST — Lowest
Rolling minimum (default: low). Lower envelope on the main chart.
chart.addScript("LOWEST");
FIBONACCI — Fibonacci
Rolling Fibonacci retracement/extension levels from rolling high/low windows. Overlay bands.
chart.addScript("FIBONACCI");
DISPLACE — Displace
Shifts a source series by N bars and adds a numeric offset. Wire DSERIES to any output (e.g. EMA).
chart.addScript("DISPLACE"); // set DSERIES in UI after EMA exists
IGLUE — Indicator Glue
Element-wise math between two series: Add, Subtract, Multiply, Divide, Power.
chart.addScript("IGLUE"); // pick FIRST + SECOND series in settings
IMOD — Indicator Modifier
Same operation list as IGLUE, but second operand is a constant modifier.
IF — IF
Compares VAL_A and VAL_B (number or series). Outputs VAL_X if A > B, VAL_Y if equal, VAL_Z if A < B. Opens in a new panel by default.
SUM — Sum
Adds up to ten conditional inputs (constants or series). Skips unset slots.
AVERAGE — Average
Averages up to ten conditional inputs; ignores missing values.
1x — 1/x
Reciprocal 1 / x for each bar of the input series. New panel.
Wiring reminder
Series inputs use seriesId:field strings. Clone definitions before mutating:
const fn = structuredClone(chart.getScripts().DISPLACE);
fn.inputs.DSERIES.value = emaReference;
chart.addScript("DISPLACE", fn);
Programmatic wiring · Series and panels.
What is next?
- Functions overview
- Key functions
- Strategy catalog — turn series into Buy/Sell signals