Type/to search

Dual Trend Filtering Optimization Strategy

Cryptocurrency
Created: 2024-02-27 14:46:32
Last modified: 2 years ago
1
Follow
1781
Followers

img

Overview

This strategy uses average double filtering and multi-level trend direction confirmation mechanisms to design a relatively stable tracking system. It consists of three main parts:

  1. An optimized trend tracking system based on improved double peak oscillators to determine the major trend direction.

  2. A sub-trend filtering system based on a combination of multiple cycle moving averages to further filter out some noise.

  3. The Alpha Index provides final confirmation to ensure reliability of trading signals.

With the triple protection described above, the strategy can judge major trends more accurately and filter short-term market noise very effectively.

Principle

Main Trend Tracking

It uses an improved double peak oscillator TOTT and a Close Series double trend filter to calculate the main trend direction. TOTT itself has very strong filtering capabilities against noise. The Close Series provides an additional level of confirmation. The combination of the two can determine major trends very accurately.

Subtrend Filtering

In addition to the main trend judging system, the strategy also sets up a sub-trend filtering system based on EMA combinations of multiple cycles. According to the Golden Cross and Dead Cross confirmation levels of the EMA lines, the reliability of judgments on the main trend direction is further improved and more noise is filtered out.

Alpha Confirmation

When entering and exiting positions, the strategy also checks the value of the Alpha Index to ensure reliability of final trading signals. Alpha reflects the buying and selling power in the market and is a good confirmation indicator.

Advantages

  • Multi-level protection design for more accurate major trend judgments
  • Powerful noise filtering capability
  • Stable and reliable trading signals
  • Large parameter optimization space

Risks

  • Signal frequency may be low
  • The tracking system uses moving averages, which can be broken in drastic market changes

To mitigate the risks, parameters can be adjusted to optimize tracker sensitivity, or more reversal indicators can be added as final filters.

Optimization Directions

  • Adjust double peak oscillator parameters to find better parameter combinations
  • Try parameter optimization of different moving average types
  • Optimize moving average cycles in EMA combination
  • Enhance Alpha filtering mechanism
  • Add stop loss mechanism

Conclusion

The overall design of this strategy is robust, with proper measures and multiple protections. The powerful noise filtering gives it stable performance. There is room for further improvement through continuous parameter optimization and mechanism enhancements.

Source
Pine
/*backtest
start: 2023-02-20 00:00:00
end: 2024-02-26 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © KivancOzbilgic
Strategy parameters
Strategy parameters
Source
OTT Period
Optimization Constant
Twin OTT Coefficient
Show Support Line?
Show Signals?
Moving Average Type
Highlighter On/Off ?
Source
OTT Period
Optimization Constant
Twin OTT Coefficient
Show Support Line?
Show Signals?
Moving Average Type
Highlighter On/Off ?
Source
Use Alternate Resolution?
Multiplier for Alernate Resolution
MA Type:
MA Period
Offset for LSMA / Sigma for ALMA
Offset for ALMA
Show coloured Bars to indicate Trend?
Delay Open/Close MA (Forces Non-Repainting)
What trades should be taken :
Initial Stop Loss Points (zero to disable)
Initial Target Profit Points (zero for disable)
Number of Bars for Back Testing
- SET to ZERO for Daily or Longer Timeframes
Multiplier
Common Period
src5
Show Signals?
Change calculation (no volume data)?
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)