Type/to search

This strategy is a bidirectional adaptive range filtering momentum tracking strategy

Common strategy
Created: 2024-01-24 11:31:51
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy is a bidirectional adaptive range filtering momentum tracking strategy. It uses an adaptive range filter to track price fluctuations and combines volume indicators to determine the direction of value, in order to implement low buying and high selling.

Strategy Principles

  1. Use an adaptive range filter to track price fluctuations. The size of the filter is adjusted adaptively according to the user-defined range period, quantity and scale.

  2. There are two types of filters: Type 1 and Type 2. Type 1 is a standard range tracking type, and Type 2 is a stepped rounding type.

  3. Determine the direction of price fluctuation based on the relationship between the filter and the closing price. Above the upper rail is bullish, and below the lower rail is bearish.

  4. Combined with the rise and fall of the closing price compared to the previous day, determine the direction of value. Value rising is bullish and value falling is bearish.

  5. Issue a buy signal when the price breaks through the upper track and the value rises; Issue a sell signal when the price breaks through the lower track and the value falls.

Advantage Analysis

  1. The adaptive range filter can accurately capture market fluctuations.

  2. Two types of filters can meet different trading preferences.

  3. Combining volume indicators can effectively identify value direction.

  4. The strategy is flexible and parameters can be adjusted according to market conditions.

  5. Customizable trading condition logic.

Risk Analysis

  1. Improper parameter settings may lead to overtrading or missing trades.

  2. Breakout signals have a certain lag.

  3. Volume indicators have a certain risk of stalling.

  4. Range breaks are prone to being trapped.

Risk Prevention:

  1. Choose appropriate parameter combinations and adjust them in a timely manner.

  2. Combine other indicators to identify trends.

  3. Trade cautiously around key levels and trend reversals.

Optimization Directions

  1. Test different combinations of range sizes and smoothing cycles to find the optimal combination.

  2. Try different types of filters and choose your preferred type.

  3. Experiment with other volume indicators or auxiliary technical indicators.

  4. Optimize and adjust trading condition logic to reduce irrational trading.

  5. Incorporate market theorems to set adaptive position sizing.

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

//@version=4
strategy("Range Filter [DW] & Labels", shorttitle="RF [DW] & Labels", overlay=true)

Strategy parameters
Strategy parameters
Filter Type
Movement Source
Range Size
Range Scale
Range Period (for ATR, Average Change, and Standard Deviation)
Smooth Range
Smoothing Period
Average Filter Changes
Number Of Changes To Average
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)