Trend-follow — EMA Cross

Enter LONG when EMA20 crosses up through EMA50 (the trend just turned up) — SL scales with volatility, TP = 1.5R

Built node by node

  1. OHLCV (H1) — The starting point — feeds close price to both EMAs, and high/low to ATR
  2. EMA(20) + EMA(50) — Connect out-close into in-series on both — the fast line measures short-term momentum, the slow line measures the medium-term trend
  3. Cross Up (in-a=EMA20, in-b=EMA50) — true only on the bar where 20 crosses up through 50 — a one-shot entry trigger, not firing on every bar (unlike Compare)
  4. ATR(14) → SL Calc (atr_mult ×1.5) — SL distance = 1.5×ATR — when the market gets more volatile, SL widens automatically instead of getting clipped by a normal wick
  5. Signal (long, rr=1.5) — Combines trigger + SL; in-tp is left unconnected → TP = SL×1.5 automatically from the rr param

Nodes used in this recipe