Type/to search

Ichimoku Yin Yang Candlestick Breakout Strategy

Common strategy
Created: 2023-12-21 10:44:37
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy is based on a very famous indicator in technical analysis - the Ichimoku Kinko Hyo, using the cloud shapes and the relationship between price and cloud to determine the trend direction and discover trading opportunities. Trading signals are generated when the price breaks through the cloud layers. This strategy is suitable for medium-long term positional trading.

Strategy Principle

The strategy uses several components of the Ichimoku Kinko Hyo indicator, including the Tenkan-Sen (Conversion Line), Kijun-Sen (Base Line), Senkou Span A (Leading Span A), Senkou Span B (Leading Span B) and Chikou Span (Lagging Span). These lines converge to form the so-called Ichimoku cloud. When the price breaks through the cloud layers, buy and sell signals are generated.

Specifically, the strategy judges whether the price breaks through the cloud layer mainly based on the Senkou Span A and Senkou Span B lines. The area between these two lines constitutes the cloud layer. When the closing price breaks through the upper edge of the cloud layer, a buy signal is generated; when the closing price breaks through the lower edge of the cloud layer, a sell signal is generated.

In addition, the strategy also sets stop loss and take profit prices. It uses syminfo.pointvalue and position information of the strategy to calculate points of profit and loss, and then converts them into specific prices.

Advantage Analysis

The strategy has the following advantages:

  1. Using Ichimoku indicator to determine the trend direction can effectively filter market noise and identify medium-long term trends
  2. Breaking through the cloud layer forms signals which can avoid losses caused by false breakouts
  3. Incorporating stop loss and take profit settings can limit single loss and lock in profits
  4. Adjustable parameters allow testing the impact of different parameters on strategy performance
  5. Visualized cloud layer and other Ichimoku components form intuitive graphical trading signals

Risk Analysis

The strategy also has some risks:

  1. Medium to long term positions may lead to larger floating losses
  2. Breakout signals may lag, missing the best entry point
  3. False breakouts may cause wrong signals and losses
  4. Excessively long holding periods incur higher expenses
  5. The set stop loss and take profit prices may be broken through

Countermeasures:

  1. Appropriately shorten the holding period to reduce the risk of single floating loss
  2. Incorporate other indicators to determine the effectiveness of breakout signals
  3. Improve the effectiveness of stop loss and take profit to avoid being caught in wrong positions
  4. Optimize the holding period to reduce expenses

Optimization Directions

The strategy can be optimized in the following aspects:

  1. Test different parameter combinations to find the optimal parameters
  2. Incorporate other indicators for signal filtering to avoid false breakouts
  3. Dynamically adjust stop loss and take profit levels, trails stop loss
  4. Customize exit criteria: reverse signal breaking cloud layer, price retracement triggers
  5. Add position management mechanisms

Conclusion

In general, the Ichimoku Yin Yang Candlestick Breakout Strategy is a typical strategy that uses the Ichimoku Kinko Hyo indicator to determine the medium-long term trend direction for breakouts. It has advantages like adjustable parameters, intuitive shapes, and visualizable signals. It also has some risks such as false breakouts and holding risks. By parameter optimization, signal filtering, stop loss/take profit setting, etc., risks can be reduced and strategy stability improved. The strategy is suitable for medium-long term positional trading, especially efficiently entering the trend direction when signals are formed by breaking cloud layers. Overall, this is a quant strategy with practical value.

Source
Pine
/*backtest
start: 2022-12-14 00:00:00
end: 2023-12-20 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © moneyofthegame
// Basado en estrategias con el indicador ICHIMOKU KINKO HIYO
Strategy parameters
Strategy parameters
SL y TP metodo
Take Profit $$
Stop Loss $$
Parámetros Ichimoku
Tenkan-Sen
Kijun-Sen
Senkou-Span B
Chikou-Span
Senkou-Span A
Backtest Operativa
Entradas Largo
Entradas Corto
Backtest rango de fechas
Desde Mes
Desde Año
Desde Día
Hasta Día
Hasta Mes
Hasta Año
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)