Which timeframe should an Expert Advisor run on?
By Benjamin Lee · Published 2026-10-11 · 1 min read
Many EAs are built and tested for one specific timeframe. Attaching one to a different chart can change its behaviour completely, even with the same settings. This guide explains why and how to choose.
Why the timeframe changes everything
Indicators and signals are calculated from candles, and a candle on M5 covers a different span of time than one on H1. The same input values, such as a period of 14, describe very different market behaviour depending on the chart.
Use the timeframe the developer tested
The manual or product page normally states the timeframe the EA was designed and tested on. Use exactly that, unless the documentation says the EA is timeframe-independent. Some EAs read a fixed timeframe internally and ignore the chart's one.
Shorter and longer timeframes in general
Shorter timeframes produce more signals and more trades, which makes spread and commission a bigger share of each trade. Longer timeframes produce fewer trades and are less sensitive to small price noise, but each trade is exposed to the market for longer.
- Short timeframes: more trades, more cost sensitivity, more demand on execution quality.
- Longer timeframes: fewer trades, wider stops, less cost sensitivity.
Check your backtest uses the same timeframe
In the Strategy Tester, set the period to the same timeframe you plan to use live. A test on a different timeframe tells you nothing about the live set-up.
Frequently asked questions
Can I change the timeframe after attaching an EA?
You can, but the EA reloads and its indicator values change. Read its manual first, and avoid switching during open trades.
Does the symbol matter as much as the timeframe?
Yes. An EA is usually optimised for specific symbols as well. Use the symbols the developer lists.
What if the manual does not state a timeframe?
Ask the developer before running it live, and forward test on a demo account to see how it behaves.
Trading foreign exchange, gold and CFDs carries a high level of risk and may not be suitable for all investors. Past performance, backtests and live results do not guarantee future returns. This guide is general education, not financial advice.
More guides
- MT4 vs MT5 for Expert Advisors: which should you use?
- Martingale and grid Expert Advisors: how they work and what can go wrong
- How to buy a cheap MQL5 Expert Advisor safely: price, value and what to check
- Lifetime vs subscription vs rental: which Expert Advisor licence costs less?
- Running an Expert Advisor on gold (XAUUSD): what to check first
- How to install an Expert Advisor (EA) on MetaTrader 5