Type/to search

Momentum Trend Tracking Strategy

Cryptocurrency
Created: 2023-11-07 16:49:49
Last modified: 3 years ago
1
Follow
1777
Followers

img

Overview

This strategy is based on trend analysis of moving averages and volume, sets momentum indicators, and makes buy and sell operations by tracking trends.

Strategy Principles

  1. Calculate the EMA of close price and the cumulative EMA of volume
  2. When close crosses above EMA, it is judged as an upward trend and long position is taken
  3. When continues going up, close crosses above 2 times of cumulative EMA, add to long position
  4. Set RSI indicator, when RSI exceeds 90, close 1/3 position for profit taking
  5. When close crosses below EMA, it is judged as downward trend, close all long positions
  6. When close crosses below EMA, it is judged as downward trend, take short position
  7. Set stop loss line at fixed percentage of entry price
  8. Profit taking of short position is the same as long position

Advantage Analysis

The main advantages of this strategy are:

  1. Using EMA to judge trends can effectively track trends
  2. Using cumulative EMA of volume to judge true trend changes
  3. Tracking momentum indicator RSI for profit taking
  4. Good risk control with stop loss
  5. Can adapt to different market conditions, parameters can be adjusted flexibly

Risk Analysis

The main risks of this strategy are:

  1. EMA has lagging, may miss turning points
  2. Volume may not always reflect real trend
  3. Fixed percentage stop loss may be too mechanistic
  4. Too many parameters make parameter tuning difficult
  5. High trading frequency leads to high trading costs

Risk Solutions:

  1. Optimize EMA parameters to reduce lagging
  2. Combine with other indicators to confirm volume signals
  3. Optimize stop loss points based on market conditions
  4. Simplify parameters, keep main settings only
  5. Relax stop loss and trading frequency appropriately

Optimization Directions

This strategy can be optimized in the following aspects:

  1. Test different EMA parameter settings to find optimal combination
  2. Add volume multiples as signal strength judgment for entry
  3. Combine with MACD, KD and other indicators to confirm entry
  4. Optimize stop loss percentage according to characteristics of specific stocks
  5. Optimize trading frequency to reduce trading costs

Summary

In summary, this is a trend tracking strategy based on moving average system. The core idea is to use EMA to determine trend direction, and confirm entry with VOLUME momentum indicator. It can be continuously optimized through parameter tuning, and assisted by other indicators for further confirmation. Overall it is a flexible trend tracking strategy, which can yield good returns after proficient use.

Source
Pine
/*backtest
start: 2023-10-30 00:00:00
end: 2023-11-06 00:00:00
period: 5m
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/
// © mohanee

//@version=4
Strategy parameters
Strategy parameters
EMA Length
cumulative volume Period
Risk % of capital
Stop Loss
take partial profits (percentage same as stop loss)
Trade Direction
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)