Type/to search

Multi Timeframe Moving Average Momentum Trading Strategy

Cryptocurrency
Created: 2023-11-06 16:04:46
Last modified: 3 years ago
1
Follow
1779
Followers

img

Overview

This trading strategy combines multiple moving averages and momentum indicators to identify the direction and strength of trends, establishing positions early in emerging trends, and then optimizing profit and risk management through the use of trailing stops and take profits. It aims to capture significant price swings during sustained trends.

Strategy Logic

  1. Two sets of moving averages with different parameters are constructed to create fast and slow lines:

    • Fast line consists of 5-period EMA and 25-period WMA, representing short-term trend
    • Slow line consists of 28-period EMA and 72-period WMA, representing mid- to long-term trend
  2. When fast line crosses above slow line, it signals short-term trend is gaining strength over mid-term trend, and presents entry signal.

  3. RSI filter incorporated, only taking entries at RSI lows (for long) and RSI highs (for short) to avoid false breakouts.

  4. Once entered, trailing stop used to minimize losses, while take profit locks in gains.

  5. When fast line crosses below slow line, it signals trend reversal, prompting exit via stop loss or take profit.

Advantage Analysis

  1. Dual moving average combinations filter noise and identify trend direction & strength during trend progression.
  2. Entries established early in emerging trends avoids unnecessary losses from false breakouts.
  3. RSI filter improves quality of entries.
  4. Trailing stop compresses losses from individual losing trades.
  5. Take profit allows sizable profit capture during favorable moves.

Risk Analysis

  1. Dual moving averages can lag at turning points, missing reversal opportunities.
    • Shorten moving average periods for greater sensitivity.
  2. False breakouts lead to unnecessary entries.
    • Incorporate more filters before entry.
  3. Stop loss / take profit distances not optimized, may be too wide or too narrow.
    • Optimize via backtest to find optimal levels.
  4. Directional strategy only works for trending markets.
    • Only employ strategy based on market conditions.

Optimization Directions

  1. Optimize moving average parameters to find best representations of trend.
  2. Add trend filters like dynamic ATR stop, momentum oscillators etc.
  3. Optimize stop loss / take profit parameters.
  4. Incorporate regime filters based on market conditions.
  5. Add cross-timeframe analysis using higher timeframes to guide shorter-term strategy direction.

Summary

This strategy integrates moving averages and momentum indicators to identify and establish early entries during emerging trends, while managing risk and reward via timely stops and take profits. Although further parameter and logic optimization is needed to adapt to wider market conditions, it already has a basic framework and directionality for capturing mid- to long-term trends. With continual improvements, this strategy can potentially grow into a robust, efficient trend-following system.

Source
Pine
/*backtest
start: 2023-10-06 00:00:00
end: 2023-11-05 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=3
strategy(title="[WAI GUA]", shorttitle="[EOS] 1.0", overlay=true)

//study(title="[WAI GUA]", shorttitle="[EOS] 1.0", overlay=true)
Strategy parameters
Strategy parameters
IS This a RENKO Chart
Alternate TimeFrame Multiplier (0=none)
Show Coloured MA Ribbons
Show Ribbon Median MA Lines
FAST MA Ribbon Type:
FAST Ribbon Lower MA Length
FAST Ribbon Upper Length
SLOW MA Ribbon Type:
SLOW Ribbon Lower MA Length
SLOW Ribbon Upper Length
Backtest Start Year
Backtest Start Month
Backtest Start Day
start
increment
maximum
Use Opposite Trade as a Close Signal
Colour Candles to Trade Order state
What type of Orders
Trailing Stop
Trailing Stop (%)
Take Profit
Take Profit (%)
Trailing Profit (%)
Stop Loss
Stop Loss (%)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)