Tradingbot
Research · FREE RESOURCE

EMA Trend Pullback

A rules-based trend-pullback research framework with ATR risk management.

ICODERX Editorialv1.0.0Updated 11/20/20260 saves

Market and timeframe

Liquid crypto spot markets; begin research on 1h or 4h candles. No verified performance data is available.

Entry conditions

  1. EMA 9 is above EMA 21 and EMA 21 is rising.
  2. Price pulls back into the area between the averages.
  3. A candle closes back above EMA 9. Confirm at close and evaluate the next candle.

Exit, stop loss and take profit

Reference stop below the pullback low or 2 ATR from entry; use the wider distance rather than arbitrarily shrinking risk. Research a 2R target or exit when EMA 9 crosses below EMA 21. Never move the stop farther away after entry.

Position sizing

Example risk budget = equity × 0.005. Quantity = risk budget / entry-to-stop distance. Include fees, slippage and gap risk. This calculation is educational, not a universally suitable allocation.

Advantages and disadvantages

Transparent and easy to inspect. Results depend on market regime; sideways conditions produce whipsaws. Validate out-of-sample and paper trade before considering practical use.

Educational content, not investment advice. Trading can result in capital loss. No profit is guaranteed.

FAQ

Is the source code free?

Yes. Examples use the MIT license and can be modified and shared with attribution.

Does this guarantee profit?

No. This is educational material. Independently validate assumptions, costs and risks.

Join the discussion