This guide explains how to combine timeframes, the rules for a typical multi-timeframe strategy, a worked example, the backtesting traps that are easy to miss, and how to automate it.
At a glance
| Multi-timeframe strategy | |
|---|---|
| Style | Trend following with timed entries |
| Instruments | Indices, futures, stocks |
| Timeframes | A higher one for direction, a lower one for entries, often 4 to 6 times shorter |
| Trend tools | Moving averages, Supertrend, MACD |
| Entry tools | Pullbacks, breakouts, RSI or VWAP signals |
How timeframes work together
Each timeframe answers a different question:
- Higher timeframe: which direction should I trade? For example, is the daily trend up?
- Lower timeframe: when exactly should I enter? For example, has the 15-minute chart finished a pullback?
A common guideline is that the higher timeframe should be four to six times longer than the lower one. Pairs such as daily and hourly, hourly and 15-minute, or 15-minute and 3-minute follow this pattern.
The rules
- Higher timeframe filter: the daily close is above its 50-day EMA, and the 50-day EMA is rising. Only long trades are allowed.
- Lower timeframe setup: on the 15-minute chart, the price pulls back to its 20-period EMA.
- Trigger: a 15-minute candle closes back above the 20-period EMA after the pullback.
- Entry: buy at the next price.
- Stop: below the pullback low, or 2 times the 15-minute ATR.
- Exit: a target of 2 times the risk, a trailing stop, or a time exit for intraday trades.
- Flip: if the daily filter turns down, take only short trades, or no trades.
A worked example
This is a hypothetical example, not a result.
- Nifty futures close above a rising 50-day EMA. Long trades are allowed.
- The next day, at 11:00 am, the 15-minute chart pulls back from 25,140 to 25,072, near its 20-period EMA at 25,070.
- At 11:15 am, a candle closes at 25,091, back above the EMA.
- The algo buys one lot of 65 at 25,094, with a stop below the pullback low at 25,060, a risk of 34 × 65 = ₹2,210.
- The target is 2 times the risk, 25,162, a gain of 68 × 65 = ₹4,420 if reached.
On a day when the daily trend was down, the same 15-minute signal would have been ignored.
Choosing tools for each timeframe
| Role | Common tools |
|---|---|
| Direction on the higher timeframe | Moving averages, Supertrend, MACD |
| Entry on the lower timeframe | Pullbacks to a moving average, VWAP, RSI, breakouts |
| Stops and sizing | ATR, recent swing points |
Keep the higher-timeframe rule simple. Its job is to filter, not to time.
The backtesting trap: unfinished candles
The most common error in multi-timeframe backtests is using a higher-timeframe candle before it has closed. At 11:15 am, today's daily candle is not finished; its close, high and low are still unknown. A backtest that uses today's daily close to filter a morning trade has looked into the future.
The fix is to use only completed higher-timeframe candles: at 11:15 am, the latest daily information available is yesterday's close. Our guide to look-ahead bias explains this and similar errors.
When multi-timeframe strategies work, and when they fail
Work best when: the higher-timeframe trend persists, and pullbacks on the lower timeframe are orderly.
Struggle when: the higher-timeframe trend is turning, so the filter is late, or when the market is range-bound and the higher-timeframe signal keeps flipping.
Risk management
- Size by the lower-timeframe stop, using the position size calculator.
- Limit trades per day, so a string of failed pullbacks does not add up.
- Use a daily MTM limit across strategies with an MTM stop loss.
Automating a multi-timeframe strategy
Watching two or three timeframes at once is demanding by hand. QuantPower's strategy builder lets you combine indicator conditions as filters and entry triggers, with stops, targets and time limits. Test the rules in the backtesting engine and paper trading before going live.
Start your free trial
Connect your broker, build a strategy and test it on paper before a single live order goes out.
Frequently asked questions
What timeframes should I combine?
Pairs four to six times apart work well, such as daily with hourly or hourly with 15-minute. Choose the lower timeframe based on how long you plan to hold trades.
Do I need three timeframes?
Not necessarily. Two timeframes cover most strategies. A third can add a broader filter, but each extra condition reduces the number of trades and adds a chance of overfitting.
Can I use this for options?
Yes. Use the timeframes on the underlying to decide direction and timing, then trade options. Remember that option prices also depend on time and volatility.
Sources
- Elder, A. (2014). The New Trading for a Living. Wiley
