Type/to search

No Offset Ichimoku Cloud with RSI Filter Strategy

Cryptocurrency
Created: 2023-11-07 15:31:06
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This is a trend following strategy that utilizes the Ichimoku Cloud indicator for trend identification and the RSI indicator for signal filtering. The strategy uses the non-offset Ichimoku Cloud to capture trend changes in a timely manner and filters fake breakouts with RSI to control trading risks.

Strategy Logic

The strategy primarily relies on the Ichimoku Cloud indicator to determine the trend direction. The Ichimoku Cloud consists of the conversion line, base line, leading span 1, leading span 2, and lagging span. The strategy uses the non-offset Ichimoku Cloud, meaning the lines like conversion line and base line adopt future figures to avoid lagging trend identification due to observation offset.

The strategy first checks if the price breaks through the cloud lines. An upward trend is identified when the lagging span crosses above the cloud, while a downward trend is identified when the lagging span crosses below the cloud. After trend starts, the strategy keeps tracking the price's relationship with the cloud to determine the persistent trend direction. The uptrend remains intact when the lagging span is above the cloud, and vice versa.

In addition to trend identification, the strategy also generates buy and sell signals when the conversion line and base line have golden cross and death cross. These trading signals are only accepted when they align with the trend direction. For example, the golden cross between conversion line and base line is only considered during an uptrend.

Finally, the RSI indicator is used to filter the trading signals. Only buy signals with RSI below the oversold level and sell signals with RSI above the overbought level are accepted. This helps filter out false breakouts to some extent.

Advantage Analysis

  • The non-offset Ichimoku Cloud can timely identify trend changes without missing reversal opportunities

  • Multiple conditions work together to effectively filter out false breakout signals

  • RSI avoids undesirable market entry under overbought and oversold situations

  • The strategy is optimized with future data in mind and can also achieve good results in live trading

Risk Analysis

  • Using future data may cause errors and needs code optimization before live trading

  • The Ichimoku Cloud is sensitive to parameters and requires parameter tuning for different products

  • Better results when trading a single product. Needs to consider inter-market correlation with multiple products

  • Many trend identification rules require adequate backtesting periods for validation

Parameters can be optimized to find the best combination. Can consider trading specific products or reduce position sizes to control risks in live trading. Stop loss strategies may also be introduced to limit the loss per trade.

Optimization Directions

The strategy can be further optimized in the following aspects:

  1. Optimize Ichimoku Cloud parameters to find the best settings for different trading products

  2. Add stop loss strategies to limit the loss per trade to an acceptable level

  3. Introduce position sizing strategies to manage overall risk exposure precisely

  4. Add more technical indicators like volatility and volume for comprehensive signal verification

  5. Optimize entry techniques like confirmation or pullback entries for better execution

  6. Perform walk-forward optimization to determine the optimal Bollinger Bands lookback period based on product characteristics

Conclusion

In summary, this is quite a robust trend following strategy. It adopts the Ichimoku Cloud for trend identification and the conversion line/base line crosses for trade signals, filtered by RSI. There is still much room for optimization via parameter tuning, stop loss, position sizing etc. The logic is clear and easy to understand. It considers both trend and risks. This is a strategy worth verifying in live trading.

Source
Pine
/*backtest
start: 2022-10-31 00:00:00
end: 2023-02-20 00:00:00
period: 1d
basePeriod: 1h
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/
// © KryptoNight

//@version=4
Strategy parameters
Strategy parameters
Standard Ichimoku Cloud
Ichimoku Cloud - no offset - no repaint
Conversion Line Period - Tenkan-Sen
Base Line Period - Kijun-Sen
Base Line Period - Kijun-Sen (auxiliary)
Lagging Span 2 Periods - Senkou Span B
Displacement: (-) Chikou Span; (+) Senkou Span A
Displacement: additional bars
Lagging Span price source - Chikou-Span
RSI Filter: Overbought level (0 = off)
RSI Filter: Oversold level (100 = off)
RSI Length
RSI Price source
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)