Skip to content

Build

Algorithm configuration reference

An algorithm is your trading strategy distilled into rules — which indicators to watch, when to enter, when to exit, and how much to risk. You build algorithms visually on the canvas by connecting nodes together. If you’ve used the Build Walkthrough to create your first algorithm, this page is your complete reference for every setting.

On this page: The Canvas · Node Types · Algorithm Types · State Machine · Entry & Exit Groups · Indicator Configuration · Stop Loss & Take Profit · Position Sizing · Logic Gates · Templates · Saving & Versioning


The Build mode canvas is a zoomable, pannable workspace where you design algorithms by placing nodes and connecting them together. Data flows from indicators through logic gates into entry/exit groups, which connect to the Config node at the center of your algorithm.

The toolbar at the top of the canvas gives you quick access to all the tools you need:

ToolShortcutWhat It Does
SelectVClick and drag to select nodes
PanHClick and drag to move around the canvas
ConnectCDraw connections between node ports
Add IndicatorIOpen the context menu to the indicator category
Add Logic GateLOpen the context menu to the logic gate category
TemplatesTOpen the templates overlay
Undo / RedoCtrl+Z / Ctrl+Shift+ZStep back or forward through changes
Select AllCtrl+ASelect every node on the canvas
DeleteDeleteRemove selected nodes
Deselect / CancelEscapeDeselect all nodes, close menus, cancel pending connections
  • Scroll to zoom in and out
  • Click and drag the background to pan
  • Home to reset the camera to center
  • Zoom controls in the top-right corner (slider + presets from 25% to 300%)

Right-click anywhere on the canvas to add new nodes:

  • Algorithm Core — pre-wired presets: Barebones, Long, Long + TP/SL, Short, Short + TP/SL, Both, Both + TP/SL
  • Indicator — browse 50+ indicators by category (Trend, Momentum, Volatility, Volume)
  • Signal Group — entry and exit group nodes
  • Logic Gate — AND, OR, NOT operators
  • Risk Management — Stop Loss and Take Profit nodes
  • Chart — live chart display node

Every element on the canvas is a node. Click Configure on any node to open its settings panel.

NodeWhat It DoesVisual
ConfigThe core of your algorithm — name, symbol, type, capital, leverage, position size. Has Quick Test and Quick Run buttons.Purple border
IndicatorTechnical analysis signal — RSI, EMA, MACD, Bollinger Bands, and 50+ moreColor-coded by category
Entry GroupCollects indicator signals to define when to enter a tradeGreen border
Exit GroupCollects indicator signals to define when to exit a tradeRed border
Stop LossDefines the stop loss level — fixed or trailing, by percent/price/ATRRed title
Take ProfitDefines the take profit level — fixed or trailing, by percent/priceGreen title
Logic GateBoolean operator (AND, OR, NOT) for combining signalsCircular, color-coded
ChartLive price chart with symbol and timeframeShows candlesticks

The Config node is the hub of your algorithm. Its settings:

SettingDescription
NameAlgorithm name
SymbolTrading pair (e.g., BTC/USDC)
TypeLONG, SHORT, or BOTH
CapitalStarting capital in USD
LeverageLeverage multiplier
Position SizePercentage of capital per trade

The Config node also has two action buttons:

  • Quick Test — saves if needed, compiles the selected algorithm, and opens Test with it pre-selected
  • Quick Run — saves if needed, compiles the selected algorithm, and opens Run with it pre-selected

TypeWhat It Does
LONGOnly opens long positions (buy low, sell high)
SHORTOnly opens short positions (sell high, buy low)
BOTHOpens both long and short positions based on separate entry/exit rules

When type is BOTH, you need four groups: long entry, long exit, short entry, short exit. For LONG or SHORT, only the relevant pair is needed.


Understanding how your algorithm cycles through states helps you reason about timeout, cooldown, and re-entry behavior:

entry condition met
CASH ──────────────────────────→ POSITION
↑ │
│ │ exit condition / SL / TP
│ cooldown expired ↓
└──────────────────────────── TIMEOUT
StateWhat’s Happening
CASHNo open position. The algorithm evaluates entry conditions on each bar.
POSITIONIn a trade. Evaluating exit conditions and scanning for SL/TP hits.
TIMEOUTPost-trade cooldown. Waiting before the algorithm can re-enter.
ReasonWhat Triggered It
SIGNALExit condition indicators triggered
STOP_LOSSSL price level hit
TAKE_PROFITTP price level hit
TRAILING_STOPTrailing SL level hit
SHUTDOWNManual stop requested
MANUALManual exit

Entry and Exit Group nodes collect indicator signals and combine them using logic gates to define when trades open and close.

Connect indicators to groups either directly or through logic gates:

  • Direct connection — the indicator signal is used as-is
  • Through AND gate — all connected signals must be true simultaneously
  • Through OR gate — at least one connected signal must be true
  • Through NOT gate — inverts the signal

A long entry that triggers when RSI is oversold AND (volume is spiking OR Stochastic is oversold):

RSI (< 30) ──────────────────────┐
├── AND ── Entry Group
CMF (> 0.1) ──┐ │
├── OR ───────────┘
Stochastic ───┘

Entry and Exit Groups support DCA (Dollar Cost Averaging) mode, which splits your entry across multiple price levels. Configure each DCA level with a price delta and capital allocation percentage.

Groups can have follow-up exit configurations for multi-leg strategies — up to 2 follow-up legs with separate triggers and position sizes.


Click Configure on any indicator node to set its parameters. Here’s an example with RSI:

FieldExample ValueDescription
typeRSIIndicator name (e.g., RSI, BollingerBands, ADX)
source1_closePrice data input — 1_open, 1_close, 1_high, 1_low, 2_typical, 2_average, etc.
signalvalue_below_thresholdHow the indicator value becomes a boolean (see signal types below)
period840Lookback period in seconds
threshold30Comparison value for threshold-based signals
valueAMAPeriodAuxiliary moving average period (for AMA-based signals)

Each indicator node shows its current parameters directly on the canvas, so you can see your configuration at a glance.

Signals define how an indicator’s value becomes a true/false trigger:

Indicator vs. Threshold — “Has the indicator crossed a specific number?”

SignalTriggers When
value_above_thresholdIndicator value > threshold
value_below_thresholdIndicator value < threshold

Price vs. Indicator — “Is the candle above or below the indicator line?”

SignalTriggers When
point_above_valuePrice candle > indicator value
point_below_valuePrice candle < indicator value

Price vs. Indicator’s Moving Average

SignalTriggers When
point_above_valueAMAPrice candle > indicator’s adaptive moving average
point_below_valueAMAPrice candle < indicator’s adaptive moving average

Indicator vs. Its Own Moving Average

SignalTriggers When
value_above_valueAMAIndicator value > its own adaptive moving average
value_below_valueAMAIndicator value < its own adaptive moving average

Moving Average vs. Threshold

SignalTriggers When
valueAMA_above_thresholdIndicator’s AMA value > threshold
valueAMA_below_thresholdIndicator’s AMA value < threshold

Some indicators define additional signal aliases specific to their behavior.


Stop Loss and Take Profit are dedicated nodes on the canvas. Connect them to your algorithm’s Config node.

Click Configure to set:

SettingOptions
ModeFixed or Trailing
TypePercent, Price, or ATR
DistanceThe stop distance value

For ATR-based stops, you also configure the ATR period and multiplier.

SettingOptions
ModeFixed or Trailing
TypePercent or Price
DistanceThe profit target value

Configured on the Config node. How much capital to allocate per trade:

TypeWhat It DoesExample
ABSFixed USD amount (capped at available equity)$500 per trade
RELPercentage of current equity50% of equity
DYNDynamic, driven by an indicator valueRequires valueFactor indicator config

Logic gates are small circular nodes that combine multiple indicator signals:

GateWhat It DoesColor
ANDAll inputs must be trueBlue
ORAt least one input must be trueAmber
NOTInverts the signal (true → false, false → true)Red

Add gates from the toolbar (L), right-click menu, or by right-clicking on a connection line to insert one inline.


Press T or click Templates in the toolbar to access pre-built strategy templates:

TemplateLevelWhat It Does
RSI Mean ReversionBeginnerOversold entry, overbought exit
EMA CrossoverBeginnerGolden/death cross trend following
Multi-SignalIntermediateCombined indicators with logic gates
Bollinger BounceIntermediateMean reversion on band extremes
Blank CanvasEmpty workspace

Templates drop pre-wired nodes onto your canvas. If you already have nodes on the canvas, the template is placed to the right to avoid overlaps.


Your canvas design is saved as a blueprint — the collection of all nodes, connections, and configurations on the canvas. A single blueprint can contain multiple algorithms (multiple Config nodes).

  • Save with the button in the top-left corner or Ctrl+S
  • Auto-save is available (3-second debounce after edits)
  • The save indicator shows green when saved, amber when there are unsaved changes
  • File Explorer lets you browse, search, duplicate, rename, and delete saved blueprints

Algorithms use immutable versioning:

  • Creating an algorithm assigns an algoId and version: 1
  • Each update creates a new version (version: 2, 3, …)
  • Previous versions are never modified
  • Backtests and live runs lock to a specific version
  • You can run multiple versions simultaneously for comparison

Want to…Go to
Test your algorithmTest Features →
Walk through building your first algorithmBuild Walkthrough →