Ichimoku Trend Following Strategy

Mar 11, 2021

Like candlesticks, the Ichimoku indicator is a fine Japanese creation.
Here I’ll explain how the Ichimoku is plotted, and use it to build a trend following strategy for the USDJPY.
The complete strategy can be downloaded in the Free Strategies section.

Candlesticks have revolutionized the world of technical trading – encyclopedias of candlestick patterns have been written.

When I first heard of the Ichimoku and its Japanese origins, I knew I had to check it out.

Ichimoku in a Nutshell

The Ichimoku Kinko Hyo, translated to one glance equilibrium chart, is a popular trend following indicator. It helps traders quickly discern market direction and support/resistance levels.

The Ichimoku is included in MT4 and is plotted below for the 4-hour USDJPY.

It consists of 5 lines:

1. Tenkan-sen

Also called the conversion line, the Tenkan-sen is the average of the highest high and lowest low over the past 9 periods.

It is akin to a fast moving average, and is commonly used to generate entry signals (we’ll get to that later).

2. Kijun-sen

Also called the base line, the Kijun-sen is the average of the highest high and lowest low over the past 26 periods.

It reacts more slowly than the Tenkan-sen, and is often used as a key support/resistance level.

3. Chikou Span

Also called the lagging span, the Chikou is the current close plotted 26 periods back.

It helps detect breaks of support and resistance levels.

If the Chikou crosses above the price, it implies a break of resistance, and the market is bullish.

Conversely, if the Chikou crosses below the price, it implies a break of support, and the market is bearish.

Ideally, you should only jump onboard a trend when the Chikou is clear of prices.

4. Senkou Span A

The Senkou Span A & B each form one edge of the cloud, or Kumo.

The Span A is calculated as the average of the Tenkan-sen and Kijun-sen, plotted 26 periods ahead.

5. Senkou Span B

The Span B is the average of the highest high and lowest low over the past 52 periods, also plotted 26 periods ahead.

The Kumo represents a support/resistance zone for the market. In general,

  • The market is bullish when prices are above the Kumo, and bearish when prices are below the cloud.
  • A thick Kumo is a result of a volatile market, and provides stronger support/resistance.
  • An upward sloping Kumo indicates a bullish market, while a downward sloping Kumo indicates a bearish market.

Later on in the post, I will use the Kumo as an entry filter when building the trend strategy.

I do not recommend tweaking the default lookback periods of 9, 26 and 52.

Legend has it that the Ichimoku’s creator spent 30 years perfecting it; the values provide a good short and mid-term outlook for the market.

Ichimoku Trend Following Entries

I will illustrate three common trend following entries with the Ichimoku.

1. Tenkan-sen & Kijun-sen Crossover

When the Tenkan-sen crosses above the Kijun-sen, the market exhibits bullish momentum, and a buy signal is produced.

Conversely, when the Tenkan-sen crosses below the Kijun-sen, the market exhibits bearish momentum, and a sell signal is produced.

There are three signal strengths, depending on where the Tenkan-Kijun crossover occurs relative to the Kumo.

  • If a bullish crossover occurs above the Kumo, the signal is strong.
  • If a bullish crossover occurs inside the Kumo, the signal is neutral.
  • If a bullish crossover occurs below the Kumo, the signal is weak.

The converse applies for bearish crossovers. If a bearish crossover occurs below the Kumo, the signal is strong, and so on.

The chart below shows a strong bullish Tenkan-Kijun crossover.

2. Price & Kijun-sen Crossover

When price closes above the Kijun-sen, the market exhibits bullish momentum, and a buy signal is produced.

Conversely, when price closes below the Kijun-sen, the market exhibits bearish momentum, and a sell signal is produced.

Like the Tenkan-Kijun crossover above, signal strength depends on the Kumo location.

The chart below shows a strong bullish Kijun crossover.

3. Kumo Breakout

A buy signal occurs when price breaks and closes above the Kumo.

A sell signal occurs when price breaks and closes below the Kumo.

These signals occur frequently. To improve your win rate, I recommend only taking trades when the Kumo is sloping considerably.

Flat Kumos are usually the result of an unchanged Senkou B (average of the highest high and lowest low over 52 periods) and indicate a strong support/resistance zone. Prices tend to retreat back towards the Kumo in such cases.

If the breakout occurs during a flat Kumo, have a look at the ‘future’ Kumo (remember that both Senkou A & B are plotted 26 periods ahead).

If the future Kumo starts sloping, as shown in the chart below, the probability of trend continuation is higher.

I have backtested all three Ichimoku strategies, and I find that the Tenkan-Kijun crossover usually produces the best results.

This may be because the Tenkan and Kijun average price action over the past 9 and 26 periods, respectively. This helps eliminate false entries.

The price-Kijun crossover and Kumo breakout strategies, in contrast, directly use the current close to generate signals.

From here on out, I’ll build a USDJPY trend following strategy using the Tenkan-Kijun crossover.

Tenkan-Kijun Crossover Ichimoku Strategy

Entry Conditions

To get a higher win rate, I’ll only focus on strong Tenkan-Kijun crossovers. To recap, this means the crossover has to occur above the Kumo for longs, and below the Kumo for shorts.

In addition, I want price to close above the Tenkan for longs, and below the Tenkan for shorts. This ensures short-term momentum is in my favour.

When the above entry conditions are met, I’ll place a buy stop at the previous high, or a sell stop at the previous low.

Trade Management

Ichimoku traders often use the Kijun as a stop loss and trailing stop. This is a sensible option, and is similar to using a medium-speed moving average.

Unfortunately, with the entry conditions above, there will often be insufficient breathing space between the entry price and the Kijun. The chart below shows an entry with a 30-pip stop loss distance, which is too small for the 4-hour USDJPY. Stops that are too tight are usually a recipe for disaster.

One way to alleviate this is to place a buffer between the Kijun and stop loss. For example, for long trades, you can place the stop at one ATR below the Kijun.

For this case, instead of using the Kijun, I will simply implement an 80-pip stop loss and trailing stop.

Finally, to avoid weekend gaps, I will exit the trade on Friday, at 4pm New York time.

Programming the Ichimoku Trend Following Strategy

The above entry conditions were visually programmed as shown.

AlgoWizard contains a pre-programmed Tenkan-Kijun crossover condition, so you just need to select the signal strength.

For the price > Tenkan condition, select the Tenkan line under the Ichimoku indicator.

The trade management conditions were then added:

Backtesting the Ichimoku Trend Following Strategy

The strategy will be tested on the 4-hour USDJPY from May 2003 to March 2021.

As mentioned above, trades will be closed on Friday at 4pm New York, which occurs while a bar is still in progress.

To improve precision, I will use the ‘1-minute data tick simulation’ backtest model. With this model, OHLC prices on the 1-minute timeframe are used to simulate tick movement.

The equity curve is consistent, and the 1.74 profit factor is pleasing.

There are only 165 trades in the backtest though, which translates to about 9 trades per year. This is one reason I prefer not to trade anything above the 1-hour timeframe.

On the bright side, part-time retail traders can easily trade this for side income. All you have to do is plan your toilet breaks in advance. tongue-out

Wrapping Up

The Ichimoku is a nifty indicator that conveniently conveys the market’s sentiment.

Its five lines may initially seem daunting, but they are certainly capable of generating reliable trend following entries.

The strategy presented above, while pretty decent, is only an ‘entry level’ Ichimoku strategy.

You can improve the strategy by adding more entry filters.

For example, you can evaluate the Kumo’s slope and thickness. A thick, upward sloping Kumo bodes well for long trades.

Or you can check the Chikou’s location relative to prices. You want the Chikou to be clear of prices, which indicates that support/resistance has been broken.

Such refinements will likely be necessary if you intend to use the Ichimoku for trend following on the lower timeframes.

As usual, the completely strategy can be downloaded in the Free Strategies section.

Powered By

Development Platform

Forex VPS

FXVM Forex VPS

Popular Posts

Laguerre RSI Trend Following Strategy

The Laguerre RSI attempts to improve the responsiveness of the regular RSI, whilst keeping whipsaw trades to a minimum. Let’s see how well it detects short-term pullbacks for a trend following strategy!

read more

What is Fixed Ratio Money Management?

Have you heard of fixed ratio money management? How does it compare to the popular fixed fractional approach? Here I’ll explain how fixed ratio works, and see how it stacks up against fixed fractional money management.

read more

Build a Diversified Portfolio With QuantAnalyzer

The ability to efficiently trade a diversified portfolio of strategies is one of the biggest advantages of algorithmic trading. Here we will use QuantAnalyzer’s Portfolio Master to build a portfolio consisting of high performing, uncorrelated strategies.

read more

What Is the QQE Indicator?

The QQE is a mysterious indicator that sometimes pops up in trading forums. Does it deserve a place alongside the more traditional momentum indicators like the RSI and CCI? Let’s add it to a trend following strategy to find out!

read more

Make your money work for you!

Get promotions, trading ideas and strategy development tips delivered to your inbox!

Comments

4 Comments

  1. Antonio J.

    Where and how can you use the Chikou line programmed in Algowizard? Can you explain it please.

    Reply
    • Wayne

      The chikou is a support/resistance indicator (current price projected 26 periods in the past). Wait for prices to be above/below it for longs/shorts.

      Reply
  2. Antonio J.

    Or how can you in Algowizard evaluate the slope of the kumo or any other line?🤷🏻‍♂️

    Reply
    • Wayne

      maybe you can use the “Is Rising for x bars” condition

      Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Trading Strategies

What’s the Best Time to Trade Forex?

What’s the Best Time to Trade Forex?

The forex markets are open 24/5, but not all hours are created equal. Here I dissect my broker data to determine the best time to trade forex.

Forex Weekend Gaps: Can You Exploit Them?

Forex Weekend Gaps: Can You Exploit Them?

Have you noticed that forex weekend gaps usually reverse within 3 days? Here I’ll program a mean reversion strategy to exploit gaps over the last 18 years!

Money Flow Index: An Improved RSI?

Money Flow Index: An Improved RSI?

The Money Flow Index is sometimes called the volume-weighted RSI. Can it outperform the RSI in this trend following strategy?

Automated Bollinger Bands Squeeze Forex Strategy

Automated Bollinger Bands Squeeze Forex Strategy

StrategyQuant’s BBWR indicator is the perfect tool to detect a Bollinger Bands squeeze. Here I explain how it’s calculated, and use it to program a breakout strategy for the AUDJPY!

Should You Use the Kelly Criterion for Forex Trading?

Should You Use the Kelly Criterion for Forex Trading?

The Kelly criterion is a famous mathematical formula that attempts to maximize your long-term capital growth. In this post, I’ll apply it to a EURUSD breakout strategy and explain some of its potential shortcomings when applied to forex trading.

Can a Trading Pause Improve Your Trend Following Results?

Can a Trading Pause Improve Your Trend Following Results?

A temporary trading pause can improve your win rate if you’re trend following a volatile market. Here I’ll program a trading pause into a simple breakout strategy, and test its effectiveness on the Widow Maker – the GBPJPY.

Laguerre RSI Trend Following Strategy

Laguerre RSI Trend Following Strategy

The Laguerre RSI attempts to improve the responsiveness of the regular RSI, whilst keeping whipsaw trades to a minimum. Let’s see how well it detects short-term pullbacks for a trend following strategy!

How to Use the Supertrend Indicator

How to Use the Supertrend Indicator

Despite its cool name, the Supertrend indicator often seems to slip under the radar. Here I explain how it’s calculated, and combine it with moving averages to produce a simple trend following strategy.

Strategy Development

Do You Know Your System Quality Number?

Do You Know Your System Quality Number?

The System Quality Number measures the profitability & consistency of your trading system. Here’s how to calculate your SQN and use it to improve your trading!

How to Get a Realistic Backtest Spread

How to Get a Realistic Backtest Spread

Your choice of backtest spread can certainly make or break a strategy. This post will show you how to study the intraday spread variations of your market, and suggest several ways to avoid paying ridiculous spreads.

Do You Know Your Strategy’s Optimization Profile?

Do You Know Your Strategy’s Optimization Profile?

Your strategy’s optimization profile often reveals its robustness, helping you select strategies that will remain profitable in live trading. Here I explain why an optimization profile is important, and how you can easily obtain one using StrategyQuant’s optimizer.

Which MT4 Backtest Report Metrics Should You Use?

Which MT4 Backtest Report Metrics Should You Use?

Understanding your backtest report is an essential part of being a successful strategy developer. Here I explain what the numbers mean, and how you can make use of each metric during strategy development.

Out-of-sample Testing Using Monte Carlo Simulations

Out-of-sample Testing Using Monte Carlo Simulations

Traders often use Monte Carlo simulations to estimate worst-case drawdowns, but did you know they can be used for out-of-sample testing too? This post demonstrates the use of StrategyQuant’s Monte Carlo simulator to randomize historical prices and strategy parameters, helping you select robust strategies for live trading.

How Many Trades Should Your Backtest Have?

How Many Trades Should Your Backtest Have?

We all want a large sample of trades in our backtests, but practical limitations such as data availability often get in the way. Here I’ll explain why 30 trades is insufficient, and how you can use standard error to quantify the uncertainty arising from a small sample size.

Build a Diversified Portfolio With QuantAnalyzer

Build a Diversified Portfolio With QuantAnalyzer

The ability to efficiently trade a diversified portfolio of strategies is one of the biggest advantages of algorithmic trading. Here we will use QuantAnalyzer’s Portfolio Master to build a portfolio consisting of high performing, uncorrelated strategies.

Strategy Optimization Using MT4

Strategy Optimization Using MT4

How do you improve your trading strategy in MT4? This post will show you how to optimize the entry and exit parameters for a moving average crossover strategy. Finally, an intraday time filter will be added to help avoid false breakouts.

Debugging & Backtesting Using MT4

Debugging & Backtesting Using MT4

With a fresh algorithm at your fingertips, how do you verify that it has been programmed correctly? This guide will show you how to use Metatrader 4’s visual backtester to debug and backtest your strategy.

Create Your Trading Algorithm in 15 Minutes (FREE)

Create Your Trading Algorithm in 15 Minutes (FREE)

Converting your trading idea into an algorithm is the first step towards reaping the benefits of automated trading. This guide will cover the creation of a simple moving average crossover algorithm, without any actual programming.

What Is Drawdown in Trading?

What Is Drawdown in Trading?

Are you getting a comprehensive assessment of your strategy’s downside? This post will discuss several methods to measure drawdowns, helping you build and select strategies that better suit your risk appetite.

Live Trading

What’s the Best Time to Trade Forex?

What’s the Best Time to Trade Forex?

The forex markets are open 24/5, but not all hours are created equal. Here I dissect my broker data to determine the best time to trade forex.

How to Find a Real Trading Guru

How to Find a Real Trading Guru

Every day I come across a trading guru offering educational content on the internet. Many of them speak of huge returns with minimal effort. Should these be trusted? Here’s some tips on how to separate the wheat from the chaff.

How to Enjoy Stress-Free Trading

How to Enjoy Stress-Free Trading

Trading is a great way to make some additional income, but not if you’re constantly pulling your hair out. Here I offer 7 tips to help make your trading profitable and stress-free.

How to Select the Best Forex VPS

How to Select the Best Forex VPS

A virtual private server (VPS) is a virtual computer that you can rent and access remotely. It provides a reliable platform on which to execute your forex strategies. This post will help you decide whether you need a VPS, and show you how to select an optimal VPS.

Make your money work for you!

Make your money work for you!

 

Get trading ideas and strategy development tips delivered to your inbox!

Thanks for subscribing!

Pin It on Pinterest

Share This