Trading education · Trading strategies

Trend-Following Strategy: Pullbacks, Rules and Failures

Study an EMA-filtered forex pullback example with explicit timeframe handling, entry, stop, target, time exit and sideways-market failure conditions.

By Updated 6 min read
Saved resources

The short answer

Trend following tests whether a directional move persists. A filter can define the context, but entry timing and risk still need separate rules. Trends can end abruptly, and an average that identifies a trend will necessarily react to historical prices.

In this guide 8 sections
A rising schematic price path with a pullback, a renewed rise and a labelled alternative failure below the pullback low.
An illustrative pullback can resume the trend or become a reversal.

Give the filter and the trigger different jobs.

This is an original, unvalidated study specification. Its numerical settings are teaching choices, not optimised parameters, personalised advice or evidence of profitability. All prices below are hypothetical.

The hypothesis is that an upward context on an hourly chart can persist after a smaller pullback. The context filter is an EMA relationship; the entry trigger is a later completed price observation. Fidelity: exponential moving averages explains the average itself. It does not validate this combination of rules.

A filter reduces the set of eligible observations. It does not prove those remaining are favourable. If the filter identifies a trend late, the first eligible pullback may occur just as the move is ending.

An example long-only pullback specification.

Completed-candle EUR/USD study
ComponentTeaching rule
ContextUsing completed hourly bid closes, require EMA(20) above EMA(50), and EMA(20) above its value five completed hourly bars earlier.
CandidateWhile the hourly filter is true and no candidate or position is active, use the first completed fifteen-minute bid candle whose low touches or passes below the latest completed hourly EMA(20) and whose close is above that hourly EMA(50). Freeze its high and low.
Trigger and expiryUse the first close above the candidate high within the next three completed fifteen-minute bars. Cancel beforehand if bid touches candidate low minus 2 pips or the completed hourly filter becomes false. Expire after the third bar if no trigger occurs.
Entry and exclusionsBuy at the next available ask within the next fifteen-minute bar. Skip if ask is at or below candidate high, more than 5 pips above it, spread exceeds 2 pips, the candidate is cancelled, or entry is within 15 minutes before or after a scheduled high-impact EUR or USD event.
ExitsInitial bid stop: candidate low minus 2 pips. Bid target: entry ask plus twice the initial price distance. Also exit on the next available bid after a completed hourly EMA(20) crosses below EMA(50), or at the first available bid at or after eight hours from entry, whichever exit occurs first.
ExposureOne open position maximum. After exit, wait for a newly completed candidate candle; do not reuse the old candidate. Skip missing quotes or unavailable calendar history.

For this exercise, process only one candidate at a time. The first trigger ends the candidate even if an entry filter rejects it. After cancellation, expiry or rejection, wait for a newly completed candidate candle; do not reuse the candle that ended the prior candidate or relabel its low. No entries are allowed when the context filter is false. The stop stays at its original level; a trailing-stop variation would need separate rules. At any shared timestamp, process cancellation and exits before a new entry. The fixed-size example below is for arithmetic; an account-level test must additionally state its balance, sizing and margin rules.

A pullback example in numbers.

Assume the filter is true, the candidate high is 1.1048 and its low is 1.1022. A permitted later candle closes above 1.1048, and the next available ask is 1.1050. The initial bid stop is 1.1020, creating a 30-pip price distance. The 2R model target is 1.1110.

At a hypothetical USD 1 per pip, the model price loss is USD 30 and price gain USD 60. With USD 0.70 additional round-trip commission and exact fills, those become a USD 30.70 loss and USD 59.30 gain. The gross 2:1 ratio is therefore different from the net payoff ratio.

An early time exit or filter exit can produce a smaller gain, smaller loss or another result. Do not assume every winner reaches 2R or every loser loses exactly 1R. A report should use actual modelled exits, not replace them with the headline target.

Try it: A candidate closes at 10:15. Its next three fifteen-minute bars close at 10:30, 10:45 and 11:00 without a trigger. Price first closes above its high at 11:15. Is that a valid entry signal for the original candidate?

Check your answer

No. The original candidate expired at 11:00. The later move cannot extend its deadline retrospectively. A fresh candidate would need to satisfy all the stated conditions on a newly completed candle.

Where this hypothesis can fail.

A sideways market can temporarily satisfy the hourly filter and then reverse, creating repeated losing pullbacks. A strong trend can also continue without touching the chosen average, giving no candidate at all. A deeper reversal can pass straight through the stop.

News can invalidate a smooth historical pattern in seconds. The event exclusion is only a rule about known scheduled releases; it does not remove unscheduled headlines or guarantee normal execution outside the window.

Two illustrative losses in succession are not, by themselves, proof the method is broken. Two wins are not proof it works. Evaluate the full outcome distribution and drawdown behaviour under a fixed specification.

Avoid a hidden higher-timeframe lookahead.

At 10:15, an hourly candle scheduled to finish at 11:00 is not complete. This specification uses only the last completed hourly inputs when evaluating a fifteen-minute candidate. Using the final 11:00 hourly value at 10:15 would give the model future information.

Store the timestamps of both the lower-timeframe decision and the higher-timeframe input it used. Declare the candle alignment and timezone. An hourly bar beginning at 10:00 is not interchangeable with a custom hourly bar beginning at 10:30.

Use enough warm-up data for both averages and document their seed convention. The EMA versus SMA guide explains why different initialisation can change early values.

Work through it yourself.

Record the plan, execution assumptions, outcome and lessons from a practice trade.

Download trading-review worksheet PDF · 2 pages

Free to download without registering. Practice examples explain the method; they do not establish a profitable strategy.

Common trend-following questions.

Does price above an EMA mean I should buy?

No. That is one relationship to historical prices. A complete plan needs context, a trigger, execution assumptions and a risk process, and still needs validation.

Why not keep widening the stop until the trend returns?

That changes the initial exposure and invalidates the original risk calculation. A study must state any stop changes before the outcome, rather than improvising them to avoid a realised loss.

Will a longer moving average remove false signals?

It changes responsiveness and can delay observations. It cannot guarantee that a filtered move will continue.

Sources & assumptions.

Written by InsomniCapital. Content checked on 4 October 2026. Schematics and hypothetical calculations are labelled educational illustrations. Historical observations identify their source, dates and method separately. Neither is a live quote, trade recommendation or reported trading result.

Educational information only, not personalised investment advice. Leveraged trading carries a high risk of loss. Read our risk disclosure. InsomniCapital has an Axi affiliate relationship and may receive compensation for qualifying referrals. References are not endorsements of this guide.

Trading AcademyModule 7: Forex strategies and backtestingLesson 42 of 45Not studiedCheckpoint not passed

In this lesson

  • Give the trend filter and entry trigger distinct rules.
  • Record completed-bar timing, exits and failure conditions.
Course outline

The complete course

8 modules. One clear path.

Follow the lessons in order, or return to a topic when you need it. Every lesson is open.

01Forex trading fundamentals10 lessons · Not started

Check brokers, rehearse a demo workflow, then study quotes, orders, costs, exposure and the demands of a trading day.

  1. Forex trading for beginnersNot studied
  2. How to Check a Forex Broker’s RegulationNot studied
  3. How to Use a Forex Demo AccountNot studied
  4. Forex order typesNot studied
  5. How to Place, Manage and Close a Forex TradeNot studied
  6. Spreads, slippage and swapsNot studied
  7. Margin and leverageNot studied
  8. Margin calls and stop-outsNot studied
  9. Day trading, swing trading and scalpingNot studied
  10. Forex market hoursNot studied

Take the module assessment

02Position sizing and risk management7 lessons · Not started

Connect price distances, contract assumptions and combined currency exposure to cash risk, payoff and drawdown.

  1. Stop-loss distances in pipsNot studied
  2. EUR/USD position sizingNot studied
  3. JPY pip valuesNot studied
  4. Position sizing with trading costsNot studied
  5. Forex Correlation and Combined Currency ExposureNot studied
  6. Risk-reward ratiosNot studied
  7. Drawdown and recoveryNot studied

Take the module assessment

03Price action and chart patterns5 lessons · Not started

Work from completed observations to candles, zones, multiple timeframes and clearly stated pattern boundaries.

  1. Price action tradingNot studied
  2. Candlestick patternsNot studied
  3. Support and resistanceNot studied
  4. Multiple Timeframe Analysis in ForexNot studied
  5. Chart patternsNot studied

Take the module assessment

04Trading indicators3 lessons · Not started

Study what moving averages, RSI and MACD calculate before interpreting a signal.

  1. Moving averages: EMA and SMANot studied
  2. RSI indicatorNot studied
  3. MACD indicatorNot studied

Take the module assessment

05Gold trading and XAU/USD4 lessons · Not started

Identify the product, translate lots into ounces and work through results and position sizing.

  1. Gold trading for beginnersNot studied
  2. Gold contract sizes and lot sizesNot studied
  3. Gold profit and lossNot studied
  4. Gold position sizingNot studied

Take the module assessment

06Economic indicators and central banks9 lessons · Not started

Read currency drivers, inflation, growth and policy announcements with their expectations and revisions.

  1. Central banks and currency pricesNot studied
  2. Nonfarm payrolls (NFP)Not studied
  3. CPI inflationNot studied
  4. PCE inflationNot studied
  5. GDP growth and revisionsNot studied
  6. PMI explainedNot studied
  7. Retail sales explainedNot studied
  8. Central bank decisionsNot studied
  9. FOMC meetingsNot studied

Take the module assessment

07Forex strategies and backtesting5 lessons · Not started

Define a reproducible study, audit its assumptions and work through breakout, trend and range examples.

  1. Forex trading strategiesNot studied
  2. Backtesting trading strategiesNot studied
  3. Breakout trading strategiesNot studied
  4. Trend-following strategiesNot studied
  5. Range trading strategiesNot studied

Take the module assessment

08Trading psychology and signals2 lessons · Not started

Review the process behind a result and the records needed to assess a performance claim.

  1. Trading psychologyNot studied
  2. Forex signals explainedNot studied

Take the module assessment

Lesson 42 checkpoint

Put the reading into practice

Work it through

Rework the guide’s pullback example under its stated prices and costs. Record when the higher-timeframe information first becomes available.

Check your understanding

1. What should be separated in a trend-following rule?
2. A four-hour filter uses completed bars. Which value may a 10:00 decision use if the current bar closes at 12:00?
3. Where is repeated whipsaw a plausible weakness of a trend-following rule?

The checkbox records study; answering every checkpoint question correctly records a separate pass. Try the module assessment for a mixed question set. Read the evidence standards for how examples and claims are presented.