Skip to main content
Skip to main content

Strategy catalog

Complete list of built-in strategies. Pass Key to chart.addScript("KEY").

New to strategies? Read Strategies overview first.

Summary table

KeyDisplay nameDefault panePrimary inputsReady with defaults?
CROSSCrossMainLINE, SIGNAL, ONDN, ONUP✅ MACD lines
EXCEEDExceedMainBands A/B, series C/D, signal lists✅ BBAND + OHLC
REBOUNDReboundMainUpper/lower bands, return signals⚙️ wire bands
GREATERLESSGreater-LessMainA, B, comparison mode, signals⚙️ wire series
CANDLESTICKPATTERNSCandlestick PatternsMainOHLC + pattern checklist✅ OHLC
SINGLESingle SignalsMainSTRATEGY, simple/reverse mode⚙️ needs strategy stream
JOINJoinMainX, Y strategies, join matrix⚙️ composition
DOUBLECHECKDouble CheckMainX, Y strategies⚙️ composition
MIXSelective SignalsMainX, Y strategies, custom matrix⚙️ composition
POSITIONPosition SizeNew panelSTRATEGY, WEIGHT, MULTIPLIER⚙️ needs strategy stream
DIFFERBuy Sell SizeNew panelPosition / strategy series⚙️ needs position stream

Signal rule strategies

CROSS — Cross

Fires when series A crosses series B.

InputRole
LINESeries A (default: MACD line)
SIGNALSeries B (default: MACD signal)
ONDNSignal when A crosses down through B
ONUPSignal when A crosses up through B
chart.addScript("MACD");
chart.addScript("CROSS");

Custom: point LINE / SIGNAL at EMA and SMA outputs — Programmatic wiring.

EXCEED — Exceed

Fires when a series pushes beyond an upper or lower band.

Defaults tie to Bollinger outputs and main high/low. Good for breakout-style markers.

chart.addScript("BBAND");
chart.addScript("EXCEED");

REBOUND — Rebound

Opposite flavor: signal when price returns inside a band after being outside.

Wire upper (A) and lower (B) band series plus the series you monitor (often close).

GREATERLESS — Greater-Less

Emits chosen signals when A is greater than, less than, or equal to B — without requiring a cross event.

CANDLESTICKPATTERNS — Candlestick Patterns

Scans open, high, low, close for enabled patterns (hammer, doji, stars, harami, …). Marks bars where patterns match.

chart.addScript("CANDLESTICKPATTERNS");

Toggle patterns in the settings checklist.

Signal hygiene and composition

SINGLE — Single Signals

Dedupes repeated identical signals. Optional Reverse mode flips position sizing interpretation (long-only +1 / short -1 style).

Input: one strategy series.

JOIN — Join

Combines strategy X and Y using the built-in Fusion join matrix (fixed lookup table).

DOUBLECHECK — Double Check

Fires only when both input strategies emit the same signal on a bar.

MIX — Selective Signals

Like JOIN, but you edit the mixing table — full control over X×Y signal combinations.

Position transforms

POSITION — Position Size

Converts a strategy signal stream into a running position size histogram in a new panel.

InputRole
STRATEGYSource strategy output
WEIGHTScalar weight
MULTIPLIERConstant or series multiplier
chart.addScript("CROSS");
// wire POSITION.STRATEGY to CrossValue — see programmatic wiring
chart.addScript("POSITION");

DIFFER — Buy Sell Size

Transforms position size changes into Buy / Sell markers with strength from the delta.

Use after POSITION or another position-size series.

Usage

chart.addScript("CROSS");
chart.addScript("EXCEED");
chart.addScript("POSITION");

Wiring matrix / boolean inputs

JOIN, DOUBLECHECK, and MIX use matrix inputs; CANDLESTICKPATTERNS uses a boolean list. Configure in ChartUI settings dialogs — programmatic examples coming in a dedicated follow-up; start in UI or see Programmatic wiring for CROSS / POSITION.

What is next?