# Ichimoku Lagging Cross Dual Line Trading Strategy

Author: ChaoZhang, Date: 2023-10-20 17:17:28
Tags:

## Overview

The Ichimoku Lagging Cross Dual Line trading strategy is a common Ichimoku candlestick chart analysis trading strategy. This strategy uses the Ichimoku cloud bands and crossovers of two baseline lines to identify reversal points in the market. The Ichimoku lagging cross trading strategy has proven to be a profitable trading strategy.

## Strategy Principles

This strategy mainly uses 5 baseline lines of the Ichimoku candlesticks. It is necessary to first understand the meaning of these lines:

Tenkan-Sen line, also called the Conversion Line, represents the midpoint of the last 9 candlesticks, and is calculated with the formula:

Kijun-Sen line, also called the Base Line, represents the midpoint of the last 26 candlesticks, and is calculated with the formula:

Chikou Span, also called the Lagging Span, lags behind the price (as the name suggests). The Lagging Span is plotted 26 periods back.

Senkou Span A, also called the Leading Span A, represents one of the Cloud boundaries and it is the midpoint between the Conversion Line and the Base Line: . This value is plotted 26 periods into the future and it is the faster Cloud boundary.

Senkou Span B, or the Leading Span B, represents the second Cloud boundary and it is the midpoint of the last 52 price bars: . This value is plotted 52 periods into the future and it is the slower Cloud boundary.

The trading rules with Ichimoku are very simple:

When the Conversion Line crosses above the Base Line, it triggers a buy signal.

When the Conversion Line crosses below the Base Line, it triggers a sell signal.

The Ichimoku Lagging Cross Dual Line trading strategy has the following advantages:

1. Using crossover of Conversion and Base Lines to determine entries and exits, the strategy rules are simple and clear.

2. Using the cloud bands and boundaries to determine trend direction, it reduces false signals.

3. The lagging line lags behind the price and can confirm the trend.

4. The combination of multiple lines provides comprehensive market assessment and improves decision accuracy.

5. Can be used for trading analysis across various timeframes.

## Risk Analysis

The Ichimoku Lagging Cross Dual Line trading strategy also has the following risks:

1. Improper parameter settings may generate excessive false signals.

2. Crossover signals may lag around trend reversals, unable to capture turning points timely.

3. Ichimoku may fail with violent price fluctuations.

4. Needs more indicators to confirm signals, limited effects when used alone.

5. Requires frequent monitoring, cannot be fully automated.

## Optimization Directions

The Ichimoku Lagging Cross Dual Line trading strategy can be optimized in the following aspects:

1. Optimize line parameters, improve lagging line settings for more accurate signals.

2. Incorporate trend indices to anticipate trend reversals early.

3. Add FILTERS to filter out false signals.

4. Optimize stop loss and take profit points to control risks.

5. Test parameters across different products and timeframes.

6. Conduct backtesting for best parameter combinations.

## Conclusion

The Ichimoku Lagging Cross Dual Line trading strategy uses simple conversion and base line crossovers to generate trade signals. It effectively uses the cloud bands to determine trend direction and filter out some noise. However, improper parameter settings can also produce false signals, requiring further optimizations. This strategy is easy to implement but best effects would need incorporating other indicators. With continuous testing and optimizations, this strategy can adapt to market changes timely, improving profitability while reducing risks.

```/*backtest
start: 2023-09-19 00:00:00
end: 2023-10-19 00:00:00
period: 4h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/

//@version=4
strategy("Ichimoku Cloud Strategy v2.0", overlay=true)

//@version=4
// study(title="Ichimoku Cloud", shorttitle="Ichimoku", overlay=true)

conversionPeriods = input(9, minval=1, title="Conversion Line Periods"),
basePeriods = input(26, minval=1, title="Base Line Periods")
laggingSpan2Periods = input(52, minval=1, title="Lagging Span 2 Periods"),
displacement = input(26, minval=1, title="Displacement")

donchian(len) => avg(lowest(len), highest(len))

conversionLine = donchian(conversionPeriods)
baseLine = donchian(basePeriods)

plot(conversionLine, color=#0496ff, title="Conversion Line")
plot(baseLine, color=#991515, title="Base Line")
plot(close, offset = -displacement + 1, color=#459915, title="Lagging Span")

p1 = plot(leadLine1, offset = displacement - 1, color=color.green,
p2 = plot(leadLine2, offset = displacement - 1, color=color.red,

// Strategy

longCondition = crossover(conversionLine,baseLine)
if (longCondition)