Type/to search

Dynamic Trailing Stop Optimization Strategy Based on Ichimoku Cloud

Common strategy
Created: 2023-12-29 14:40:47
Last modified: 3 years ago
1
Follow
1802
Followers

img

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:

  1. Ichimoku Cloud Indicator Module

    Calculate the Ichimoku Cloud indicator through Fisher Transform and Stoch to determine market trends and trading signals.

  2. Dynamic Stop Loss Module

    Dynamically calculate stop loss points based on ATR and RSI to achieve dynamic trailing stop loss.

  3. 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:

  1. Ichimoku Cloud parameter optimization to find better parameter combinations to determine trends.

  2. Dynamic stop loss parameter optimization to find more balanced stop loss range.

  3. 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.

Source
Pine
/*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
Strategy parameters
Strategy parameters
Stoch & ATR Length
Smooth
UP line
DOWN line
Use trailing stop
Re-enter after trailing stop
trailing stop actiation pips
trailing stop offset pips
Use dynamic trailing stop start
Multiplier for Dynamic TS start X*ATR
Use dynamic trailing stop offset
Multiplier for Dynamic TS offset X*ATR
Occurancy for dynamic TS
Use Current Chart Resolution?
Timeframe
Plot Hull MA
Plot all
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)