Skip to main content
Skip to main content

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

KeyDisplay nameDefault paneMain inputsOutput
HIGHESTHighestOverlayHIGH (def h), PERIODS (25)Rolling max series
LOWESTLowestOverlayLOW (def l), PERIODS (25)Rolling min series
FIBONACCIFibonacciOverlayHIGH, LOW, PERIODS (24), level togglesMultiple Fib level lines
DISPLACEDisplaceOverlayDSERIES, PERIODS, VALUE offsetTime-shifted series
IGLUEIndicator GlueOverlayFIRST, SECOND, OPERATION listCombined series
IMODIndicator ModifierOverlaySERIES, OPERATION, MODIFIERModified series
IFIFNew panelVAL_A, VAL_B (conditional), VAL_X/Y/ZRegime series
SUMSumNew panelINDICATOR1INDICATOR10 (conditional)Sum series
AVERAGEAverageNew panelINDICATOR1INDICATOR10 (conditional)Mean series
1x1/xNew panelSERIESReciprocal 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?