crypto-compSign in

Four ready-made spot strategies, from a first two-indicator rule to the full risk kit. Each one validates against the same validator the backtest worker uses. Opening one loads it into the builder as an editable draft — nothing is saved and nothing runs until you choose to.

RSI + MACD confluence

Simple

Long when the MACD line crosses above its signal while RSI sits between 50 and 70; out on the opposite cross or an overbought RSI.

Teaches: Combining two indicators with ALL / ANY groups, a multi-output reference (macd.signal) and a percent stop.

Symbol
BTCUSDT
Market
SPOT
Base timeframe
1h
Preview the blocks

Indicators

  • rsi14 = RSI(length 14, source close) on 1h
  • macd = MACD(fast 12, slow 26, signal 9, source close) on 1h

Rules

  • Entry long: ALL of (macd.macd crosses above macd.signal; rsi14 > 50; rsi14 < 70)
  • Exit long: ANY of (macd.macd crosses below macd.signal; rsi14 > 75)

Risk & sizing

  • Stop loss: percent 2
  • Sizing: percent_equity 100

Dual EMA trend + RSI filter

Intermediate

Long on a 20/50 EMA golden cross confirmed by RSI above 50, with an ATR stop, a 3R target and risk-based sizing.

Teaches: An ATR stop that reads a declared indicator, an R-multiple target, and sizing from the stop distance with a notional cap.

Symbol
BTCUSDT
Market
SPOT
Base timeframe
4h
Preview the blocks

Indicators

  • ema_fast = EMA(length 20, source close) on 4h
  • ema_slow = EMA(length 50, source close) on 4h
  • rsi14 = RSI(length 14, source close) on 4h
  • atr14 = ATR(period 14) on 4h

Rules

  • Entry long: ALL of (ema_fast crosses above ema_slow; rsi14 > 50)
  • Exit long: ema_fast crosses below ema_slow

Risk & sizing

  • Stop loss: atr 2 of atr14
  • Take profit: r_multiple 3
  • Sizing: risk_percent_equity 1, capped at 100% of equity

4h regime gate + 15m trigger

Advanced

Trades 15m EMA crosses only while the 4h close is above its 200 EMA, and closes the position if that regime breaks.

Teaches: A higher-timeframe indicator, a gate that holds until invalidated, and a gate that closes the position when it flips.

Symbol
BTCUSDT
Market
SPOT
Base timeframe
15m
Preview the blocks

Indicators

  • ema200_4h = EMA(length 200, source close) on 4h
  • ema9 = EMA(length 9, source close) on 15m
  • ema21 = EMA(length 21, source close) on 15m
  • atr14 = ATR(period 14) on 15m

Gates

  • bull_regime_4h: on when close@4h > ema200_4h · off when close@4h < ema200_4h · hold until_invalidated · on invalidate close_long

Rules

  • Entry long: ALL of (gate bull_regime_4h is active; ema9 crosses above ema21)
  • Exit long: ema9 crosses below ema21

Risk & sizing

  • Stop loss: atr 2 of atr14
  • Take profit: r_multiple 2
  • Sizing: risk_percent_equity 1, capped at 100% of equity

MTF regime trend — full risk kit

Advanced+

The builder's own worked example, long side: 4h regime + 1h momentum gates, a 15m entry with MACD and RSI confirmation.

Teaches: Break-even, an armed ATR trailing stop, a 4R target, an execution cooldown and daily circuit breakers, all at once.

Symbol
BTCUSDT
Market
SPOT
Base timeframe
15m
Preview the blocks

Indicators

  • ema50_4h = EMA(length 50, source close) on 4h
  • ema200_4h = EMA(length 200, source close) on 4h
  • rsi_1h = RSI(length 14, source close) on 1h
  • adx_1h = ADX(period 14) on 1h
  • ema9 = EMA(length 9, source close) on 15m
  • ema21 = EMA(length 21, source close) on 15m
  • ema200 = EMA(length 200, source close) on 15m
  • macd = MACD(fast 12, slow 26, signal 9, source close) on 15m
  • rsi14 = RSI(length 14, source close) on 15m
  • atr14 = ATR(period 14) on 15m

Gates

  • bull_regime_4h: on when ALL of (close@4h > ema200_4h; ema50_4h > ema200_4h) · off when ANY of (close@4h < ema200_4h; ema50_4h < ema200_4h) · hold until_invalidated · on invalidate close_long
  • bull_momentum_1h: on when ALL of (rsi_1h > 52; adx_1h.adx > 22; adx_1h.plus_di > adx_1h.minus_di) · off when ANY of (rsi_1h < 48; adx_1h.adx < 18; adx_1h.plus_di < adx_1h.minus_di) · hold until_invalidated · on invalidate block_long_entries

Rules

  • Entry long: ALL of (gate bull_regime_4h is active; gate bull_momentum_1h is active; ema9 crosses above ema21; close > ema200; macd.histogram > 0; rsi14 > 50; rsi14 < 68)
  • Exit long: ema9 crosses below ema21

Risk & sizing

  • Stop loss: atr 2.2 of atr14
  • Take profit: r_multiple 4
  • Trailing stop: atr 2.8 of atr14, armed at 1.5R
  • Break even at 1R (offset 0.05R)
  • Sizing: risk_percent_equity 0.5, capped at 100% of equity
  • Cooldown: 4 bars after a close
  • Circuit breakers: 4 entries/day, 1.5% daily loss, 3 losses in a row → 24 bars off