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
- OHLCV (H1) — The starting point — feeds close price to both EMAs, and high/low to ATR
- 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
- 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)
- 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
- 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
- OHLCV
- Indicator
- Cross
- SL Calc
- Signal