Strategy catalog
Complete list of built-in strategies. Pass Key to chart.addScript("KEY").
New to strategies? Read Strategies overview first.
Summary table
| Key | Display name | Default pane | Primary inputs | Ready with defaults? |
|---|---|---|---|---|
CROSS | Cross | Main | LINE, SIGNAL, ONDN, ONUP | ✅ MACD lines |
EXCEED | Exceed | Main | Bands A/B, series C/D, signal lists | ✅ BBAND + OHLC |
REBOUND | Rebound | Main | Upper/lower bands, return signals | ⚙️ wire bands |
GREATERLESS | Greater-Less | Main | A, B, comparison mode, signals | ⚙️ wire series |
CANDLESTICKPATTERNS | Candlestick Patterns | Main | OHLC + pattern checklist | ✅ OHLC |
SINGLE | Single Signals | Main | STRATEGY, simple/reverse mode | ⚙️ needs strategy stream |
JOIN | Join | Main | X, Y strategies, join matrix | ⚙️ composition |
DOUBLECHECK | Double Check | Main | X, Y strategies | ⚙️ composition |
MIX | Selective Signals | Main | X, Y strategies, custom matrix | ⚙️ composition |
POSITION | Position Size | New panel | STRATEGY, WEIGHT, MULTIPLIER | ⚙️ needs strategy stream |
DIFFER | Buy Sell Size | New panel | Position / strategy series | ⚙️ needs position stream |
Signal rule strategies
CROSS — Cross
Fires when series A crosses series B.
| Input | Role |
|---|---|
LINE | Series A (default: MACD line) |
SIGNAL | Series B (default: MACD signal) |
ONDN | Signal when A crosses down through B |
ONUP | Signal 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.
| Input | Role |
|---|---|
STRATEGY | Source strategy output |
WEIGHT | Scalar weight |
MULTIPLIER | Constant 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.