Type/to search

Dual Thrust Indicator Strategy

Cryptocurrency
Created: 2023-09-25 17:34:46
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

The core idea of this strategy is to combine the dual thrust indicator with a basic moving average line to implement trend following and trend reversal trading. When the price is in the same direction as the indicator, follow the trend; when the price is in the opposite direction of the indicator, take reversal trades.

Strategy Logic

The strategy is mainly based on three custom indicators:

  1. Dual Thrust Indicator (Trend): Calculates the relationship between the price and the overbought/oversold channel to determine the bullish and bearish trends, returning 1, 0, -1 three states.

  2. Overbought/Oversold Channel (Tsl): Calculates the upper and lower rails with reference to ATR. Breaking through the upper rail is regarded as overbought, and breaking through the lower rail is regarded as oversold.

  3. Basic Moving Average Line (MA): Calculates the 20-period simple moving average of the closing price.

Specifically, the strategy judges whether the price is in bullish, sideways or bearish state according to the dual thrust indicator value. When the dual thrust indicator is 1, it means a bullish state; when the dual thrust indicator is -1, it means a bearish state. At this point, if the price is in the same direction as the indicator, a trend following strategy is adopted, going long or short at the right spot. If the price is in the opposite direction of the indicator, such as the indicator showing bullish while the price breaking through the lower rail, a reversal strategy is adopted by going short to capture profits.

In addition, the breaking through of price on moving average line also serves as an auxiliary signal to guide the trading direction. Go long when the price breaks through the average line upwards, and go short when the price breaks through the average line downwards.

The specific long trade strategies are as follows:

  1. Dual thrust indicator > 0, price rises to break through the upper rail, which belongs to trend following, go long.

  2. Dual thrust indicator < 0, price falls to break through the lower rail, which belongs to trend reversal, go short.

  3. Closing price > Opening price > Pivot level, regarded as breaking the pivot to go long, go long.

  4. Closing price breaks through upper rail, and closing price > Moving average line, go long.

The short trade strategies are as follows:

  1. Dual thrust indicator < 0, price falls to break through the lower rail, which belongs to trend following, go short.

  2. Dual thrust indicator > 0, price rises to break through the upper rail, which belongs to trend reversal, go long.

  3. Opening price > Closing price < Pivot level, regarded as breaking the pivot to go short, go short.

  4. Closing price breaks through lower rail, and closing price < Moving average line, go short.

The exit strategy is simple by stopping loss when price breaks through the overbought/oversold channel again.

Advantage Analysis

The strategy has the following advantages:

  1. The dual thrust indicator can accurately determine the market trend and is the core indicator of the strategy.

  2. The overbought/oversold channel combined with the indicator can discover potential reversal opportunities.

  3. The basic moving average line can serve as an auxiliary filtering signal to avoid false breakouts.

  4. The pivot point combined with the dual thrust indicator forms high-probability trading spots.

  5. It has both trend following and reversal trading capabilities for more profit opportunities.

  6. The overbought/oversold channel stop loss is simple and clear, which is beneficial for risk control.

Risk Analysis

The strategy also has the following risks:

  1. The dual thrust indicator may give out wrong signals, and needs to be filtered with other indicators.

  2. Breakout trading is prone to being trapped, so strict stop loss is required.

  3. Improper moving average period setting may miss trends or generate false signals.

  4. The pivot points need backtesting to verify probability reliability.

  5. The overbought/oversold channel needs optimization of parameters to adapt to different products.

  6. Mismatch of indicator parameters may lead to frequent trading.

To address these risks, the following measures can be taken:

  1. Combine other indicators like K-line, volume to verify dual thrust indicator signals.

  2. Strictly follow the overbought/oversold channel stop loss strategy for quick stop loss.

  3. Test different moving average period parameters to find the optimal one.

  4. Fully backtest the pivot point strategy probability.

  5. Optimize parameters to find the optimal combination for each product.

  6. Adjust indicator parameters to keep the overall system running smoothly.

Optimization Directions

The strategy can also be optimized in the following aspects:

  1. Increase machine learning algorithms to train the dual thrust indicator with big data. This can improve accuracy and reduce false signals.

  2. Add adaptive channels to automatically adjust channel parameters based on market volatility. This can improve breakout accuracy.

  3. Use deep learning to extract more changeable indicators to optimize entry and exit strategies.

  4. Add advanced stop loss algorithms that can track trends for stop loss, avoiding being stopped out by reversals.

  5. Conduct parameter optimization and combination tests to improve overall strategy stability.

  6. Add risk management modules for more scientific risk control.

Summary

The strategy combines trend following and trend reversal organically by judging market structure with the dual thrust indicator and generating trading signals with channels and moving average lines. It has the advantages of good indicator effectiveness, abundant trading opportunities, and clear stop loss. At the same time, it also has certain risks that need further optimization to improve stability. Overall, the strategy fully integrates the ideas of trend trading and reversal trading, and is worth further research and application.

Source
Pine
/*backtest
start: 2023-08-25 00:00:00
end: 2023-09-24 00:00:00
period: 2h
basePeriod: 15m
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/
// © amysojexson

//@version=3
Strategy parameters
Strategy parameters
Pivot Type
Plot PP
Plot S1 and R1
Plot S2 and R2
Plot S3 and R3
Plot S3 and R3
Trading Session
Highlight Session?
Show Labels?
Factor
Pd
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)