Type/to search

ADX Momentum Trend Strategy

Common strategy
Created: 2024-01-16 15:57:17
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy uses the ADX indicator to determine the market trend, combines with the DMI indicator to determine direction, utilizes the ADX slope to gauge trend strength, sets the ADX key level to filter non-trending markets, and uses a moving average to filter trade signals.

Strategy Logic

  1. Calculate the ADX, DI+, and DI- indicators.
  2. ADX slope > 0 indicates an increasing trend; key level is set to 23 to filter non-trending markets.
  3. DI+ above DI- signifies bullish momentum overrides bearish momentum, giving a buy signal.
  4. When moving average filter is enabled, only generate buy signals when close is above the moving average.
  5. Close positions when ADX slope < 0, indicating fading trend.

Advantage Analysis

  1. MA filter reduces noise trades in non-trending markets.
  2. ADX slope accurately determines trend strength.
  3. DI indicates direction combined with ADX for strength forms a robust trend trading system.
  4. Expect lower drawdown and higher profit factor than simple MA strategies.

Risk Analysis

  1. ADX results vary significantly with different input parameters.
  2. DMI may give false signals before direction is clearly determined.
  3. Some lag exists, reducing strategy efficiency.

Optimization Directions

  1. Optimize ADX parameters for best results.
  2. Add stop loss to limit loss on single trades.
  3. Try combining other indicators to filter signals, e.g. RSI, Bollinger Bands.

Summary

This strategy fully utilizes ADX’s strength in determining trend and momentum, combined with DMI for direction analysis, forming a complete trend following system. The MA filter effectively reduces noise. Further parameter tuning and indicator combinations may improve robustness and efficiency. In summary, by incorporating trend, momentum and direction analysis, this strategy has the potential to achieve strong returns.

Source
Pine
/*backtest
start: 2024-01-08 00:00:00
end: 2024-01-15 00:00:00
period: 10m
basePeriod: 1m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=4
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © millerrh with inspiration from @9e52f12edd034d28bdd5544e7ff92e 
//The intent behind this study is to look at ADX when it has an increasing slope and is above a user-defined key level (23 default). 
Strategy parameters
Strategy parameters
From Year
From Month
From Day
To Year
To Month
To Day
ADX Smoothing
DI Period
Keylevel for ADX
Lookback Period for Slope
Use MA for Filtering?
MA Type For Filtering
MA Period for Filtering
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)