Dual-directional Trailing Stop Moving Average Trend Strategy
Overview
This strategy combines the Super Trend, SSL Hybrid Baseline Channel and QQE indicators to implement dual-directional position tracking stop loss and capture mid-to-long term trends.
Strategy Logic
The strategy is mainly based on the following key points:
-
Use the Super Trend indicator to determine the overall trend direction and assist in judging entry timing.
-
Use the SSL Hybrid Baseline Channel to determine specific entry points. Channel breakouts serve as the basic entry signal.
-
Use QQE indicator crosses to provide confirmation for entry signals.
-
Use the ATR indicator to aid in stop loss and take profit calculations.
-
Employ percentage-based risk management and dynamic stop adjustment to control per-trade risk.
The entry logic requires a Super Trend reversal along with a price breakout of the baseline channel and a cross of the QQE indicator before entering a position.
This combined indicator system can effectively control entry timing and avoid unnecessary entries during market churns.
The exit logic is simple - a Super Trend reversal serves as the signal to close positions, in addition to triggered stop losses and take profits.
Advantage Analysis
The biggest advantage of this strategy is using a combination of indicators to filter out false breakouts and reduce invalid trades.
Another major highlight is the use of percentage-based stops to control per-trade risk.
By using ATR to calculate stop distance and combining that with a configurable multiplier, we can clearly see the risk taken per trade. This is critical for proper risk management.
We can even set a max tolerable loss percentage to limit total losses.
The use of a trailing stop to lock in profits is also a key part of enhancing returns.
Risk Analysis
The biggest risk of this strategy is the probability of combined signal errors. Despite our use of multi-indicator filtering, no indicator is perfect.
When Super Trend shows a false breakout, or QQE gives incorrect crosses, it becomes easy for this strategy to mistakenly enter positions and face increased likelihood of stopped out trades.
There is also some risk of over-optimization with this strategy. Care should be taken to avoid excessive reliance on historical patterns when setting parameters.
We need to pay attention to key settings like ATR period, stop multiplier, risk percentage etc. These require individual tuning for different instruments.
Optimization Opportunities
There remains room for further enhancements:
-
Test combinations with more indicators like adding in the KD oscillator.
-
Examine parameter stability under different configurations.
-
Try auto-optimization techniques like machine learning.
-
Introduce adaptive stop logic to adjust stop distance based on market volatility.
-
Build re-entry logic to reduce missed opportunities after stops are triggered.
/*backtest
start: 2024-02-22 00:00:00
end: 2024-02-27 00:00:00
period: 1m
basePeriod: 1m
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/
// © fpemehd
// Thanks to W3MCT - @simonFUTURE2 w3mct.com -
// @version=5- 1

