Type/to search

Trend and Oscillation Double Strategy

Common strategy
Created: 2024-01-04 17:32:26
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

The Trend and Oscillation Double Strategy is a quantitative trading strategy that combines trend and oscillation. It utilizes the combination of two indicators to identify the direction and strength of the trend, and find better entry opportunities during trend oscillations.

Principles

The strategy mainly utilizes two open indicators: Trend Surfers and Mawreez's Trend Oscillator.

Trend Surfers is a trend tracking stop loss indicator. By calculating the highest and lowest prices over a certain period, it judges the price movement and gives suggested stop loss positions. For example, when the price breaks through the highest price of the most recent 168 K-lines, it is a bullish signal; when the price breaks through the lowest price of the most recent 168 K-lines, it is a bearish signal.

Mawreez's Trend Oscillator is a dual-line oscillation indicator. Similar to MACD, it judges the direction and strength of the trend through the difference in DI. The values above 0 axis of this indicator curve indicate bullishness, while those below indicate bearishness.

The trading rules of this strategy are:

Long entry: Buy when Trend Surfers break through the highest line and Mawreez's Trend Oscillator shows bullish signal
Short entry: Sell when Trend Surfers break through the lowest line and Mawreez's Trend Oscillator shows bearish signal

The stop loss method is a combination of trend tracking stop loss and fixed stop loss.

Advantage Analysis

This strategy combines trend and oscillation indicators, which can capture trends and find better entry prices during oscillations. The main advantages are:

  1. The double indicator filtering can effectively avoid false breakouts
  2. The combination of trend and oscillation makes it easier to seize the low price in price ranges for bargain hunting or exit at high price for profit taking
  3. The multiple stop loss methods can control risks very well

Risk Analysis

There are also some risks with this strategy:

  1. The combination of double indicators may lead to missing trading signals
  2. Conflicting signals may occur between the trend indicator and oscillation indicator
  3. Fixed stop loss may stop out too early

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

  1. Relax the parameters of the indicators properly to reduce filtration rate
  2. Add rules of trend judgment to avoid indicator conflicts
  3. Dynamically adjust stop loss positions

Optimization Directions

There is room for further optimization of this strategy:

  1. Test different parameter combinations and cycle parameters to find the optimal parameters
  2. Increase auxiliary rules based on volatility, trading volume etc.
  3. Adopt machine learning techniques to dynamically optimize indicators and parameters

Summary

The Trend and Oscillation Double Strategy integrates the advantages of trend tracking and oscillation indicators. It can identify trend directions and seize oscillation opportunities. With parameter and rule optimization, the profitability of this strategy can be further enhanced. This strategy has good prospects for development.

Source
Pine
/*backtest
start: 2023-12-27 00:00:00
end: 2024-01-03 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/
// © myn

//@version=5
Strategy parameters
Strategy parameters
DI Length
Sensitivity
Risk Management
Max % risk
How many pairs
Entry Condition
Highest High Period
Lowest Low Period
Exit Condition
Trailing ATR Pediod
Trailing ATR Multiplier
Fix ATR Pediod
Fix ATR Multiplier
ADX
Average Directional Index (ADX)
ADX Smoothing
DI Length
ADX Threshold
Date Range
Start
startPeriodTime
End
endPeriodTime
Trade Direction
Trade Direction
Take Profit
Take Profit 1 - Target %
% Of Position
Take Profit 2 - Target %
% Of Position
Take Profit 3 - Target %
% Of Position
Take Profit 4 - Target %
Stop Loss
Stop Loss (%)
Leverage
Leverage
ProfitView Alert Syntax
Alert Syntax Prefix
Dashboard
Show Dashboard
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)