symbol
Trading pair, e.g. BTCUSDT. Uses Binance USDT-M futures candles.
timeframe
Candle interval: 1h, 4h, 1d, etc.
indicators
Lookback periods for RSI, EMA, SMA, and MACD. Values above 200 are capped server-side; applied settings appear in results after each run. OHLCV columns (open, high, low, close, volume) come from candles.
Strategy Skeleton
Use the Strategy Skeleton preset for a minimal starting JSON. Other presets are ready-made examples to fork and tweak.
Playbook
Left panel: one-click inserts for common conditions. Not exhaustive — edit JSON directly or use Ctrl+Space. For exit RSI, add once and change the threshold (e.g. 50 → 65).
Allowed values
indicators: open, high, low, close, volume, rsi, ema, sma, macd, macd_signal, macd_hist
operators: <, >
value: number (e.g. 30) or indicator name (e.g. ema, macd_signal)
position_side
long (default) or short. Short requires mode: futures — spot is long-only. Compare skips the spot row for short strategies.
entry / exit
Arrays of conditions. All entry conditions must be true (AND) to open a position. Exit conditions use the same AND logic to close. Each list allows at most 10 conditions (enforced by the API).
Contradictory rules (e.g. RSI < 30 and RSI > 70 in the same list) never fire together — the strategy simply won't open. Keep lists focused.
Left side: open, high, low, close, volume, rsi, ema, sma, macd, macd_signal, macd_hist. Right side: number or indicator name.
risk_management
Optional price-based exits using candle high / low (mirrored for shorts):
- stop_loss_percent — long: floor from entry (low); short: ceiling from entry (high)
- trailing_stop_percent — long: trails below highest high; short: trails above lowest low
- ratchet_step_percent — long: ladder at entry × (1 + step/100)^n; short: entry × (1 − step/100)^n
- take_profit_percent — long: sell when high reaches target; short: cover when low reaches target
Effective stop loss
Fixed SL, ratchet, and trailing merge each candle into one level:
long: max(fixed SL, ratchet, trailing) · short: min(fixed SL, ratchet, trailing)
Exit priority (each candle)
Long:
- Effective stop — if low ≤ stop_loss_effective
- Take profit — if high ≥ take_profit_price
- Indicator exit on close / open per execution mode
Short:
- Effective stop — if high ≥ stop_loss_effective
- Take profit — if low ≤ take_profit_price
- Indicator exit on close / open per execution mode
Long ratchet/trailing update from high; short from low. Effective stop is checked before take profit on the adverse extreme.
Backtest only
mode: spot or futures. leverage applies to futures only. Compare always runs spot + futures 2×/3×/5×/10× — no mode or leverage in the request JSON.