Dynamic Trailing Stop Optimization Strategy Based on Ichimoku Cloud
Overview
The core idea of this strategy is to combine the Ichimoku Cloud strategy and dynamic trailing stop mechanism to achieve more efficient stop loss exits. The Ichimoku Cloud strategy judges market trends and timing through K-line indicators. While the dynamic stop loss mechanism can set stop loss points based on market volatility amplitude to effectively control risks.
Principles
The main modules of this strategy include:
-
Ichimoku Cloud Indicator Module
Calculate the Ichimoku Cloud indicator through Fisher Transform and Stoch to determine market trends and trading signals.
-
Dynamic Stop Loss Module
Dynamically calculate stop loss points based on ATR and RSI to achieve dynamic trailing stop loss.
-
Trailing Stop Tracking Module
Set fixed trailing stop loss points. Exit positions when price reaches stop loss points.
Advantage Analysis
The biggest advantage of this strategy is the excellent risk control capability. The dynamic stop loss mechanism can set appropriate stop loss range based on market volatility to effectively avoid losses caused by excessive slippage and better track trends than fixed stop loss. In addition, the Ichimoku Cloud indicator can filter out some noisy trades and determine entry and exit points reliably.
Risk Analysis
The main risks of this strategy are improper stop loss point setting may cause excessively aggressive exits. Also, using over aggressive parameters may cause over frequent whipsaw trades. To mitigate these risks, parameters should be set reasonably to avoid excessive moving magnitude.
Optimization Directions
The optimization space of this strategy mainly focuses on:
-
Ichimoku Cloud parameter optimization to find better parameter combinations to determine trends.
-
Dynamic stop loss parameter optimization to find more balanced stop loss range.
-
Add volatility-based position sizing module to adjust positions based on market volatility.
Through parameter search and rules optimization, higher risk adjusted returns can be obtained from this strategy.
Conclusion
This strategy combines Ichimoku Cloud and dynamic trailing stop techniques, which can accurately determine market trends for timing decisions, and also dynamically adjusts stop loss range to effectively control risks. With continuous module expansion and parameter optimization, this strategy can become an effective long-term strategy framework.
/*backtest
start: 2022-12-22 00:00:00
end: 2023-12-28 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=4
strategy("IFTS+TS Strategy Overlay ", overlay=true, pyramiding = 0, calc_on_order_fills = false, commission_type = strategy.commission.percent, commission_value = 0.0454, default_qty_type = strategy.percent_of_equity, default_qty_value = 100)
//INPUTS- 1

