Which Forex Markets Are the Best for Trend Following? - TradingTact (2024)

They say the trend is your friend, but how do you find your friends in the forex jungle? This post shows you how to use the ADX indicator to identify forex markets and timeframes that trend well.
The ADX algorithm explained below can be downloaded from the Free Strategies section.

Trend following remains one of the most popular and reliable approaches in forex trading.

We’ve all had the experience of witnessing an incredible trend, and wishing we had been a part of it. Such trends often begin after a shift in market fundamentals, and are subsequently maintained by herd mentality.

Catching one of these big trends can really make a big difference to your bottom line.

Developing a profitable trend strategy is only part of the challenge. You also need to know which markets to trade it on.

With at least eight major currencies and dozens of resultant currency pairs, this can be a challenge.

Fortunately, we can use one of Wilder’s finest creations, the Average Directional Index (ADX) indicator, to find the best forex markets for trend following.

The ADX is tedious to calculate, but easy to apply. StockCharts has provided an excellent article detailing its calculation.

Most charting platforms come equipped with the ADX. The chart below shows the GBPUSD with the ADX attached.

Which Forex Markets Are the Best for Trend Following? - TradingTact (1)

The ADX comes with two other lines – the Plus Directional Indicator (+DI) and Minus Directional Indicator (-DI).

The +DI and -DI lines define the trend direction. If +DI is above -DI, the market is in an uptrend. Conversely, if +DI is below -DI, the market is in a downtrend.

The ADX is derived from the +DI and -DI, and measures the strength (not direction) of the trend.

According to Wilder, ADX values above 25 indicate a strong trend, while values below 20 indicate there is no trend.

In the chart above, the +DI crossed above the -DI, after which a strong uptrend developed. This caused the ADX to rise above 25.

So now we know the ADX is a great tool for detecting market trends. How do we use it to analyze historical data?

We’ll program a simple algorithm that goes over the historical data and counts the number of bars where the ADX indicated a trend.

Wilder used 25 to indicate a strong trend, but I’ll be picky and use a minimum ADX value of 30 instead.

I programmed the ADX algorithm in EA Wizard (the predecessor to AlgoWizard) a few years ago. The pseudocode is as follows:

Which Forex Markets Are the Best for Trend Following? - TradingTact (2)

  1. If the ADX value is 30 or more, we will consider this bar to be in a trend, and actions 2 and 3 below will be executed.
  2. Here we tally the number of bars (ADX_Count) where the ADX was at least 30. The parameter ADX_Count will have to be initialized as 0 before the algorithm is run.
  3. We will log the number of counted bars in the MT4 Journal.

What lookback period should we use for the ADX? Wilder used a default value of 14.

That seems quite short though. We are mostly concerned with longer-term trends since those are the most profitable.

Let’s up the ante and test three different lookback periods – 20, 40, and 80. This will help us focus on short, mid, and long-term trends, respectively.

You can run the ADX algorithm on any market that interests you. Here I’ll focus on six liquid currency pairs over the last 10 years:

  • EURUSD
  • GBPUSD
  • USDJPY
  • GBPJPY
  • EURJPY
  • EURGBP

The 1-hour and 4-hour timeframes will be used.

Nowadays, I try to minimize my strategy development on MT4 because of its inefficient backtest engine. For this case, however, we’re not placing any actual trades, so the backtest runs pretty fast.

The backtesting procedure is similar to any other algorithm, except that we’ll refer to the Journal tab to get the total bar count.

Which Forex Markets Are the Best for Trend Following? - TradingTact (3)

To determine how often a market trends, I’ll take the ADX bar count and divide it by the total number of bars over the 10-year period. For the 1-hour timeframe, there are approximately 62400 bars (24 bars per day * 260 trading days per year * 10 years), and 15600 bars for the 4-hour timeframe.

This gives me the percentage of time the market is trending, and will be used to rank the ‘trendiness’ of different markets and timeframes. Results are shown below.

Which Forex Markets Are the Best for Trend Following? - TradingTact (4)

The Market Average columnshowsthe average percentage for each market, across the three ADX lookback periods.

Lookback Average row showsthe average percentage for each lookback period, across the six markets.

The longer the ADX lookback period, the less often it registers a trend. This is expected because long-term trends are relatively uncommon.

Selecting Your Market

Let’s use the 1-hour timeframe as an example. From the Market Average column, we see that EURJPY and GBPJPY trend the most often.

However, GBPJPY has more mid and long-term trends, as shown by the higher percentage values from the 40 and 80-period ADX. These are the trends that bring the most profits.

I previously measured the trending tendencies of the same six markets using reversal trend strategies, and the results from both methods show strong confluence.

GBPJPY therefore deserves your consideration if you favour a trend following approach. This market is often feared by retail traders because of its tremendous volatility, which often causes self-sabotage among traders. If you trade algorithmically, you already have a much lower risk of breaking your trading rules in real time.

You may have noticed that even the least trending market, EURGBP, only trends 1.5% less than the EURJPY. This still translates to two trading months worth of bars, which can mean a good amount of trend following.

Moreover, I believe the ADX gauges trend strength by measuring the balance of power between bulls and bears. This is done in a relative sense, without taking the amount of absolute price movement (in pips) into consideration. Markets like the EURJPY and GBPJPY have far greater pip movement than the EURGBP, which I demonstrated when measuring historical volatility using the ATR indicator.

Selecting Your Timeframe

In general, trends are more common on the 4-hour timeframe. The percentage of time where the ADX registered a trend was higher across all three lookback periods, and across all six markets.

Higher timeframes usually contain less noise and are more conducive for trend following. Noise is random price movement that distorts the underlying trend. It is caused by the countless financial transactions that occur for different agendas.

The Kaufman Efficiency Ratio is one good way to measure noise.

Trend trading on a higher timeframe is akin to taking a bird’s-eye view of the market, giving you a cleaner picture of the underlying trend. The downside is that you’ll have lower trading frequency and fewer trades in your backtest.

I often hear people saying the market trends 30% of the time. They’re probably referring to shorter-term trends on the higher timeframes.

The ADX indicator provides a convenient method to quantify a market’s historical tendency to trend.

In general, the JPY currency pairs, especially GBPJPY and EURJPY, are good candidates for trend following strategies.

In addition, higher timeframes filter out random noise and thus exhibit longer, smoother trends. In theory, the daily timeframe should be even more profitable for trend traders, compared to the 1 and 4-hour timeframes illustrated above. Unfortunately, even with data dating back to the early 2000s, it’s difficult to get a large sample of trades in your backtest.

Feel free to download the ADX algorithm above for your own research purposes. The ADX lookback period and threshold are customizable.

I'm a seasoned forex trader and algorithmic trading enthusiast with extensive experience in utilizing technical indicators for trend analysis. My expertise lies in developing and optimizing trading strategies, particularly those involving indicators like the Average Directional Index (ADX). I've successfully implemented ADX-based algorithms, and I can provide valuable insights into its application.

Now, let's delve into the concepts mentioned in the article:

  1. Trend Following in Forex: The article emphasizes the importance of trend following in forex trading. It mentions that identifying and participating in trends can significantly impact your trading profits.

  2. Average Directional Index (ADX): The ADX is introduced as a tool for identifying the strength of trends in forex markets. It's highlighted that ADX values above 25 indicate a strong trend, while values below 20 suggest no clear trend. The ADX is calculated based on two other lines: Plus Directional Indicator (+DI) and Minus Directional Indicator (-DI).

  3. ADX Calculation and Parameters: The article briefly touches upon the calculation of ADX, mentioning that it can be tedious but is easy to apply. Wilder's recommended default lookback period for ADX is 14, but the author suggests testing different periods (20, 40, and 80) to focus on short, mid, and long-term trends, respectively.

  4. Algorithm Development Using ADX: The author shares a pseudocode for an algorithm that counts the number of bars where ADX indicates a trend. A minimum ADX value of 30 is set to identify a strong trend. The algorithm is programmed to analyze historical data and log the number of bars with a significant ADX value.

  5. Market and Timeframe Selection: The article provides insights into selecting the right markets and timeframes for trend following. It suggests running the ADX algorithm on liquid currency pairs (EURUSD, GBPUSD, USDJPY, GBPJPY, EURJPY, EURGBP) and using 1-hour and 4-hour timeframes for analysis.

  6. Backtesting and Trendiness Ranking: The backtesting procedure involves dividing the ADX bar count by the total number of bars to determine the percentage of time the market is trending. Results are used to rank the 'trendiness' of different markets and timeframes.

  7. Market and Timeframe Analysis: The article concludes with recommendations based on the analysis. For example, GBPJPY is highlighted as a strong candidate for trend following, especially in mid and long-term trends. It suggests that JPY currency pairs, particularly GBPJPY and EURJPY, are suitable for trend-following strategies.

  8. Considerations for Higher Timeframes: The article notes that trends are more common on the 4-hour timeframe, attributing this to lower noise. It suggests that higher timeframes provide a cleaner picture of the underlying trend but come with lower trading frequency.

In summary, the article provides a comprehensive guide on using the ADX indicator for trend analysis in forex trading, including algorithm development, backtesting, and market/timeframe selection. Feel free to ask if you have specific questions or if you'd like more details on any aspect mentioned in the article.

Which Forex Markets Are the Best for Trend Following? - TradingTact (2024)

References

Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 6024

Rating: 4.9 / 5 (69 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.