Trend Following

How do you backtest a multi-timeframe swing trend strategy?

Multi-timeframe swing trend uses a higher timeframe to decide the trend direction, then drops to a lower timeframe to time the entry, so a swing trade always runs with the bigger trend. Below are the rules, how to backtest them across two timeframes without look-ahead bias, and what happened when we backtested 2,935 trades on 11 years of daily and 4-hour data.

By Avinash · Published · Updated

Two stacked chart panels showing an aligned upward trend on both a higher and a lower timeframe
On this page
  1. How it works
  2. Variants
  3. How to backtest two timeframes
  4. Our 2,935-trade backtest
  5. Timeframe pairings
  6. Position sizing
  7. Common mistakes
  8. Limitations
  9. FAQ

One timeframe sets the direction, the other sets the timing

A single chart only ever shows you one resolution of the same argument — this stock is going up, or it isn't. Multi-timeframe swing trend splits that argument across two charts on purpose. A higher timeframe, usually the daily or weekly, answers the direction question: is there a trend here worth joining at all. A lower timeframe, usually the 4-hour or 1-hour, answers the timing question: given that direction, where's a decent place to actually get in. Neither chart is trying to do the other's job. That division is the whole strategy — everything else enforces it.

  1. 01Pick both timeframes before you open a single chart

    A common pairing is daily for direction and 4-hour or 1-hour for entries — roughly a 6:1 to 24:1 ratio between them is enough separation that the lower timeframe isn't just a zoomed-in copy of the higher one. Write the pair down. Choosing it after you've already seen how the entry timeframe looks defeats the point of having two opinions instead of one.

  2. 02Read the higher timeframe for direction only

    Check the higher timeframe for a clear trend — a sequence of higher highs and higher lows, or a moving average sloping one way. That's the only question it answers. It doesn't tell you when to enter, and treating a higher-timeframe candle pattern as an entry trigger drags the timing job onto a chart that's too slow for it.

  3. 03Only take lower-timeframe setups that agree with the higher one

    Once the higher timeframe says up, the lower timeframe is only allowed to offer long setups — a pullback, a break of a short-term swing high, a bounce off a moving average. A short setup on the entry timeframe gets skipped even if it looks clean, because it's arguing with the chart you already decided to trust for direction.

  4. 04Trigger the entry off the lower timeframe's own structure

    The entry signal — the close beyond a swing point, the reversal candle, the bounce — comes entirely from the lower timeframe. The higher timeframe already did its job by setting which direction is allowed; asking it to also confirm the exact entry candle is asking one chart to do two jobs.

  5. 05Set the stop on the entry timeframe's structure, not the trend timeframe's

    The stop sits just beyond the swing low or high the entry setup formed on. A stop sized off the higher timeframe's structure is usually too wide for the position size the trade actually calls for — the entry timeframe is what you traded, so it's what should size the risk.

Variants

  1. 01Two-timeframe (the default above)

    One direction chart, one entry chart, nothing else. This is the version described in the rules above, and the one to default to — it's the fewest moving parts, which is also why it's the easiest to actually follow under pressure.

  2. 02Three-timeframe / 'Rule of Three'

    Adds a fixed middle chart between the two — direction, then setup, then entry (e.g. weekly, daily, 4-hour). The middle timeframe's only job is spotting the setup pattern (a flag, a pullback zone); the entry timeframe still does the actual triggering. This is a different, deliberately three-chart system chosen upfront — not the same thing as bolting on a third timeframe mid-decision (see Mistakes), which is still wrong even here if it isn't one of the three fixed roles.

  3. 03Indicator-confirmed

    Same two charts, but the direction call on the higher timeframe is gated by an objective rule instead of a visual read — for example, price must be above a rising 50-period moving average, not just 'look trending.' Trades slightly more mechanically and produces fewer discretionary direction calls, at the cost of occasionally missing an early trend the indicator hasn't caught up to yet.

How to backtest a multi-timeframe strategy without fooling yourself

The steps that kept our backtest honest. The third row is the one most backtests get wrong.

StepWhat to doCommon mistake
1. Fix the pairWrite down the direction and entry timeframes before you look at any chartPicking the pair that made the past look best
2. Write the direction ruleAn objective test, e.g. close above a rising 50-day average'Looks trending' decided after the fact
3. Read only closed higher-timeframe candlesUse the last closed daily candle for every 4-hour decisionUsing today's daily close, which isn't known until tonight
4. Trigger on the entry timeframeEntry, stop and target all come from the 4-hour chartStops sized off daily swings
5. Log every signalCount the losers and the skipped against-trend trades tooOnly remembering the clean wins
6. Compare with randomRun random entries with the same direction and riskCalling 1.02 an edge without a baseline

Our 2,935-trade backtest

Daily direction, 4-hour entry trigger

Illustrative dual-panel chart: a daily chart trending upward above a rising moving average, and a 4-hour chart below it marking a breakout above a short-term swing high as the entry
Illustrative diagram, not a real trade or live price data.

The daily panel (top) is only there to answer one question — is this trending up. It is, so the 4-hour panel (bottom) is allowed to look for a long entry. The entry itself — the close above the prior swing high, circled — comes entirely from the 4-hour chart's own structure, not from anything on the daily.

Entry and stop, read off the same chart

Illustrative candlestick chart marking an entry above a breakout candle and a stop below the most recent swing low
Illustrative diagram, not a real trade or live price data.

Both markers sit on the entry timeframe: the entry triggers on the break of the prior swing high, and the stop sits just under the most recent swing low that formed on that same chart — not under a swing low from the daily panel above, which would size the position off a distance the trade wasn't actually taken on.

Same-looking setup, two different calls

Illustrative side-by-side comparison of a bullish candlestick pattern taken during an uptrend versus the same pattern skipped during a downtrend
Illustrative diagram, not a real trade or live price data.

Both entry-timeframe patterns look identical in isolation. The left one gets taken because the higher timeframe is trending up; the right one gets skipped, not because the pattern is worse, but because the higher timeframe it would be trading against is in a downtrend. The setup never decides this on its own.

We backtested 2,935 trades. The daily filter helped a little.

Bar chart of profit factor by daily trend: 1.02 with the daily trend (1,221 trades), 0.94 against it (1,157), 1.01 with no daily trend (557) and 0.99 for all trades, with random entries at 1.01, 0.95 and 0.99
Traders Journal backtest on OANDA daily and 4-hour candles, 2015-2026: EUR/USD, GBP/USD, USD/JPY, AUD/USD, USD/CAD, gold, S&P 500 and Nasdaq 100. After one typical spread.

Worked example of a full multi-timeframe backtest. Direction: the last closed daily candle above a rising 50-day average means up, below a falling one means down. Entry: a 4-hour close beyond the high or low of the previous ten 4-hour candles, with the stop at the other side of those ten candles and a 2R target. On eight markets from 2015 that gave 2,935 trades. With the daily trend the profit factor was 1.02. Against it, 0.94. Random entries taken in the same direction with the same risk scored 1.01 and 0.95. So the daily filter separated better trades from worse ones, but the 4-hour breakout itself added almost nothing over a random entry.

Look-ahead bias doubled the filter's apparent edge

Bar chart: reading the last closed daily candle gives profit factors of 1.02 with the trend and 0.94 against it, a gap of 0.08; reading the daily candle still forming gives 1.05 and 0.88, a gap of 0.17
Traders Journal backtest on OANDA daily and 4-hour candles, 2015-2026: EUR/USD, GBP/USD, USD/JPY, AUD/USD, USD/CAD, gold, S&P 500 and Nasdaq 100. After one typical spread.

Then we ran the same rules with the most common multi-timeframe backtesting mistake: reading the daily candle that hasn't closed yet. In a spreadsheet or a simple script it's easy to line up each 4-hour candle with 'today's' daily close, which wasn't known at the time. The with-trend profit factor rose to 1.05 and the against-trend one fell to 0.88. The gap between them went from 0.08 to 0.17. The filter looked twice as useful as it really was.

Same rules, very different markets

Horizontal bar chart of with-trend profit factor by market: gold 1.56, Nasdaq 100 1.30, USD/JPY 1.10, S&P 500 0.99, USD/CAD 0.94, GBP/USD 0.88, AUD/USD 0.79, EUR/USD 0.76
Traders Journal backtest on OANDA daily and 4-hour candles, 2015-2026: EUR/USD, GBP/USD, USD/JPY, AUD/USD, USD/CAD, gold, S&P 500 and Nasdaq 100. After one typical spread.

Split by market, the with-trend trades ranged from a profit factor of 1.56 on gold and 1.30 on the Nasdaq 100 to 0.76 on EUR/USD. Each market had only 120 to 170 trades, so these are small samples. Gold and the Nasdaq trended hard over these years, which flatters any trend filter. That's the reason to backtest your own pairing on your own market rather than borrow a result.

EUR/USD, January 2026: both timeframes agreed, 2R

Two-panel EUR/USD chart, January 2026: the daily chart closing back above a rising 50-day average, and the 4-hour chart breaking above its 10-candle high at 1.17461 on 22 January with a stop at 1.16693 and a 2R target at 1.18997 hit on 26 January
Real EUR/USD daily and 4-hour candles (OANDA data). Past price only, not a trade signal.

By 21 January EUR/USD had closed back above a rising 50-day average for a few days: the daily said up. On 22 January the 4-hour candle that opened at 14:00 UTC closed at 1.17461, above the previous ten 4-hour highs. A long there with the stop under those ten candles, at 1.16693, risks 77 pips. Price ran through the 2R target at 1.18997 on 26 January.

EUR/USD, February 2026: same agreement, stopped out

Two-panel EUR/USD chart, February 2026: the daily chart still above a rising 50-day average, and the 4-hour chart breaking out at 1.1827 on 25 February, then falling through the stop at 1.17658 when the market reopened on 1 March
Real EUR/USD daily and 4-hour candles (OANDA data). Past price only, not a trade signal.

Five weeks later the same rules lined up again. The daily was still above a rising 50-day average, and the 4-hour candle that opened at 22:00 UTC on 25 February closed at 1.1827, a new 10-candle high. Stop at 1.17658, 61 pips away. The breakout never followed through, and price fell through the stop when the market reopened for the week, 1 March at 22:00 UTC. Both timeframes agreeing is not a promise; it is a slightly better coin.

Our multi-timeframe backtest in one table

Profit factor after one typical spread. Win rate = trades that reached the 2R target; trades still open after 60 four-hour candles were closed at market.

GroupTradesReached 2RProfit factorRandom entry PF
With the daily trend1,22127.8%1.021.01
Against the daily trend1,15726.0%0.940.95
No daily trend55726.2%1.01Not run
All trades2,93526.8%0.990.99
With trend, look-ahead version1,30428.1%1.05Not run
Against trend, look-ahead version1,02825.0%0.88Not run

Timeframe pairings

Common direction/entry timeframe pairings, roughly ordered from position trading down to intraday.

Direction timeframeEntry timeframeTypical ratioStyle
WeeklyDaily~5:1Position trading
Daily4-hour~6:1Swing trading (the pair we backtested)
Daily1-hour~24:1Swing trading, tighter entries
4-hour15-minute~16:1Day trading

The entry timeframe sizes the risk; the trend timeframe just gives permission

Because the stop is anchored to the lower timeframe's own structure, position size is recalculated off that stop distance on each trade, the same as any structure-based stop: position size = risk amount ÷ (entry price − stop price). On a $10,000 account risking 1% per trade ($100), an entry at $52.40 with a stop at $51.10 on the entry timeframe — a $1.30-per-share difference — sizes the position at $100 ÷ $1.30, or about 76 shares. The higher timeframe doesn't add its own risk parameter — it either gives permission to look for an entry or it doesn't. A trader who also tries to size risk off the higher timeframe's wider swings ends up with a stop that doesn't match the chart the trade was actually taken on, and a position size calculated off the wrong distance.

Where this setup usually goes wrong

  1. 01Switching which timeframe means what, mid-decision

    Treating the 4-hour as the direction chart on one trade and the entry chart on the next, depending on which one currently agrees with what you want to do, isn't multi-timeframe trading — it's picking whichever chart supports the trade you already wanted.

  2. 02Bolting on an extra timeframe mid-decision, for reassurance

    Pulling up a third chart on a trade you're already unsure about, hoping it breaks the tie, isn't the same as deliberately running a fixed three-timeframe system (see Variants). Reassurance-shopping adds a chart that occasionally disagrees with the other two, at which point the trade gets skipped for a reason that has nothing to do with the original setup.

  3. 03Taking an entry-timeframe setup that fights the higher timeframe

    A textbook reversal pattern on the 1-hour is still a countertrend trade if the daily is trending the other way. The setup being clean on its own chart doesn't override the direction rule the strategy is built around.

  4. 04Re-checking the higher timeframe after every candle on the lower one

    The higher timeframe's trend doesn't change every hour — checking it constantly invites second-guessing a direction call that was supposed to be settled before the entry search even started.

It needs a real trend on the higher timeframe, and it adds a second chart to manage

If the higher timeframe is genuinely sideways, there's no direction to hand down to the entry timeframe, and forcing the pairing anyway just means trading the lower timeframe's noise with an extra step attached. It also takes more screen time and discipline than trading one timeframe alone — missing the higher-timeframe context on a trade that's already been entered is a real, common failure mode, not a hypothetical one.

Frequently asked questions

What's the best timeframe combination for multi-timeframe swing trading?

Daily for direction with 4-hour or 1-hour for entries is the most common swing pairing, but there's no single correct combination — what matters is that the two timeframes sit far enough apart that the lower one isn't just a zoomed-in copy of the higher one. Fix the pair before you start looking for trades, not after.

How many timeframes should I actually use?

Two. One for direction, one for entry timing. Adding a third rarely adds useful information and usually just adds another chart that can disagree with the other two, which tends to talk traders out of otherwise valid setups.

Does multi-timeframe analysis actually reduce false signals?

It filters out entry-timeframe setups that go against the bigger trend, which removes a category of low-quality countertrend trades. It doesn't make the remaining setups guaranteed winners — the entry timeframe can still be wrong even when it agrees with the higher one.

How do you backtest a multi-timeframe strategy?

Fix both timeframes first, write an objective direction rule, and make every entry decision using only higher-timeframe candles that had already closed. Then log every signal, including the ones the filter skipped, and compare the result with random entries taken in the same direction with the same risk.

What is look-ahead bias in multi-timeframe backtesting?

Using higher-timeframe data that didn't exist yet at the moment of the trade, usually today's daily close when you're deciding on a 4-hour candle at noon. In our backtest it made the daily filter look twice as useful: the gap between with-trend and against-trend profit factor went from 0.08 to 0.17.

Does the higher timeframe filter improve results?

A little, in our data. With the daily trend the profit factor was 1.02; against it, 0.94. Random entries in the same directions scored 1.01 and 0.95, so most of the benefit came from the direction filter, not from the 4-hour entry trigger.

Can I backtest multiple timeframes in Traders Journal?

Yes. A backtesting session can show several charts in one layout on the same replay clock: two on the free plan, up to eight on Premium. A higher-timeframe chart shows its current candle only as far as the replay has reached.

Should the stop be based on the higher timeframe or the entry timeframe?

The entry timeframe. That's the chart the trade was actually taken on, and its structure is what the stop and position size should be measured against. A stop sized off the higher timeframe's wider swings is usually too loose for the position the entry timeframe justifies.

What if the higher timeframe and lower timeframe disagree?

Skip the trade. The strategy's entire premise is trading in the direction the higher timeframe already confirmed — an entry-timeframe setup that fights that direction is a signal the strategy is specifically built to filter out, not an exception worth making.

Keep reading

Traders Journal is a trading journal, backtesting, charting, and educational software platform. Traders Journal is not a brokerage company, does not execute or route trades, and does not hold or handle client funds. Subscription fees are for access to Traders Journal software and features, not brokerage fees, transaction fees, or trading commissions.

Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing ones’ financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.

© 2026 Traders Journal. All rights reserved.

TRADERS

JOURNAL