Strategy vault / Mean reversion
Ichimoku Lagging Cross Dual Line Trading Strategy
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…

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.
Advantage Analysis
The Ichimoku Lagging Cross Dual Line trading strategy has the following advantages:
Using crossover of Conversion and Base Lines to determine entries and exits, the strategy rules are simple and clear.
Using the cloud bands and boundaries to determine trend direction, it reduces false signals.
The lagging line lags behind the price and can confirm the trend.
The combination of multiple lines provides comprehensive market assessment and improves decision accuracy.
Can be used for trading analysis across various timeframes.
Risk Analysis
The Ichimoku Lagging Cross Dual Line trading strategy also has the following risks:
Improper parameter settings may generate excessive false signals.
Crossover signals may lag around trend reversals, unable to capture turning points timely.
Ichimoku may fail with violent price fluctuations.
Needs more indicators to confirm signals, limited effects when used alone.
Requires frequent monitoring, cannot be fully automated.
Optimization Directions
The Ichimoku Lagging Cross Dual Line trading strategy can be optimized in the following aspects:
Optimize line parameters, improve lagging line settings for more accurate signals.
Incorporate trend indices to anticipate trend reversals early.
Add FILTERS to filter out false signals.
Optimize stop loss and take profit points to control risks.
Test parameters across different products and timeframes.
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.
Parameters
| Name | Default | What it controls |
|---|---|---|
| v_input_1 | 9 | Conversion Line Periods |
| v_input_2 | 26 | Base Line Periods |
| v_input_3 | 52 | Lagging Span 2 Periods |
| v_input_4 | 26 | Displacement |
Source Pine Script
/*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/
// © iamskrv
//@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)
leadLine1 = avg(conversionLine, baseLine)
leadLine2 = donchian(laggingSpan2Periods)
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,
title="Lead 1")
p2 = plot(leadLine2, offset = displacement - 1, color=color.red,
title="Lead 2")
fill(p1, p2, color = leadLine1 > leadLine2 ? color.green : color.red)
// Strategy
longCondition = crossover(conversionLine,baseLine)
if (longCondition)
strategy.entry("Buy", strategy.long)
shortCondition = crossover(baseLine, conversionLine)
if (shortCondition)
strategy.entry("Short", strategy.short)Published by ChaoZhang on the FMZ strategy square · last modified 2023-10-20. Collected in the Quant Trading Vault. Unvalidated research: re-test with your own data and costs before trusting it.
Build this with AgenKit
A spec is not a trading system. Paste this into your coding agent and AgenKit runs a specialist team — architecture, test-first build, risk gates, review — with paper trading on by default.
/agenkit build a production-grade trading bot with a backtest engine, risk controls and paper trading by default from strategies/Ichimoku-Lagging-Cross-Dual-Line-Trading-Strategy.md- npx agenkit install engineering-kit in your project
- Paste the command into your agent and approve each phase
- Get tests, backtest, risk controls and a paper-trading switch
Understand it first
Before you run this, read the lesson behind the idea and how to backtest it honestly. Specs like this one are the survivors of an unknown number of trials; deflate their results accordingly.
Related specs
- Byron Serpent Cloud Quant StrategyPine Script · Mean reversion · 1h
- Random Oscillation StrategyPine Script · Mean reversion · 1d
- Multi Indicator Options Trading StrategyPine Script · Mean reversion · 1d
- Multi Indicator Scoring Trading StrategyPine Script · Mean reversion · 1d
- Williams Double Exponential Moving Average and Ichimoku Kinkou Hyo StrategyPine Script · Mean reversion · 1h
- Quantitative Trading Strategy Based on Ichimoku and ADX IndicatorsPine Script · Mean reversion · 1h