Multi Timeframe Moving Average Trading Strategy (2024)

  1. Square
  2. Multi Timeframe Moving Average Trading Strategy

Author: ChaoZhang, Date: 2023-09-21 20:45:38
Tags:

Overview

This strategy uses moving average crossovers between different timeframes to generate trading signals. It allows observing longer timeframe MAs on current chart to detect larger trends. This belongs to inter-timeframe trend following strategies.

Strategy Logic

The strategy uses two moving averages calculated on separate timeframes.

For example on 15min chart it uses 20MA and 50MA:

  • 20MA is calculated on current 15min bars
  • 50MA is calculated on daily bars

When 15min 20MA crosses above daily 50MA, it goes long. When 15min 20MA crosses below daily 50MA, it goes short.

This achieves the effect of observing longer timeframe trends on current period. Custom MA lengths are also allowed.

Crossover points can be marked for clear trade signals.

Advantages

  • Analyze across timeframes, discover larger trends
  • Higher TF lines more stable, avoiding false signals
  • Lower TF lines more sensitive, catching trend changes fast
  • Customizable MA periods combinations
  • Clear marked signals on chart

Risks

  • Increased complexity with multiple timeframes
  • Lower TF false signals still possible
  • Overall lagging with MA systems, may miss best entries
  • Limited filtering with pure MA system
  • Period tuning needed for different products

Risks can be reduced by:

  • Keeping longer high TF MAs for robust trend direction
  • Adding other indicators for further signal filtering
  • Optimizing MA periods for best combinations
  • Relaxing entry rules like adding candlestick patterns

Enhancement Directions

The strategy can be improved by:

  1. Testing more MA period combinations for optimization

  2. Adding secondary confirmation when crossover happens

    e.g. check MACD momentum

  3. Optimizing stops to avoid premature exit

    Consider Post123 evidence to decide exits

  4. Different filters for short and long TF

    More strict for short TF, more relaxed for long TF

  5. Consider different parameter sets for different sessions

    Market conditions vary by sessions

Summary

This strategy observes crossovers between MAs of multiple timeframes to determine trend direction and uncover larger trends. This filters out short-term noises and focuses on larger price moves. However, challenges like timeframe tuning and lagging signals exist. Enhancements can be made via rigorous backtesting and optimization for robust parameters, adding filters for confirmation, live validation for continuous improvements according to market feedback. Persistent learning and optimization is key to adaptivity.

/*backteststart: 2022-09-14 00:00:00end: 2023-09-20 00:00:00period: 7dbasePeriod: 1dexchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]*///@version=2//Run script on a long interval gives better result for e.g. 1 Day//Plots The Majority of Moving Averages//Defaults to Current Chart Time Frame --- But Can Be Changed to Higher Or Lower Time Frames//2nd MA Capability with Show Crosses Feature//study(title="CM_Ultimate_MA_MTF", shorttitle="CM_Ultimate_MA_MTF", overlay=true)strategy("Stratergy CM_Ultimate_MA_MTF", shorttitle = "Stratergy CM_Ultimate_MA_MTF", overlay = true) //,default_qty_type = strategy.percent_of_equity, default_qty_value=100.0, pyramiding=0)//inputssrc = closeuseCurrentRes = input(true, title="Use Current Chart Resolution?")resCustom = input(title="Use Different Timeframe? Uncheck Box Above", defval="D")len = input(20, title="Moving Average Length - LookBack Period")atype = input(1,minval=1,maxval=7,title="1=SMA, 2=EMA, 3=WMA, 4=HullMA, 5=VWMA, 6=RMA, 7=TEMA")cc = input(true,title="Change Color Based On Direction?")smoothe = input(2, minval=1, maxval=10, title="Color Smoothing - 1 = No Smoothing")doma2 = input(false, title="Optional 2nd Moving Average")len2 = input(50, title="Moving Average Length - Optional 2nd MA")atype2 = input(1,minval=1,maxval=7,title="1=SMA, 2=EMA, 3=WMA, 4=HullMA, 5=VWMA, 6=RMA, 7=TEMA")cc2 = input(true,title="Change Color Based On Direction 2nd MA?")warn = input(false, title="***You Can Turn On The Show Dots Parameter Below Without Plotting 2nd MA to See Crosses***")warn2 = input(false, title="***If Using Cross Feature W/O Plotting 2ndMA - Make Sure 2ndMA Parameters are Set Correctly***")sd = input(false, title="Show Dots on Cross of Both MA's")res = useCurrentRes ? timeframe.period : resCustom//hull ma definitionhullma = wma(2*wma(src, len/2)-wma(src, len), round(sqrt(len)))//TEMA definitionema1 = ema(src, len)ema2 = ema(ema1, len)ema3 = ema(ema2, len)tema = 3 * (ema1 - ema2) + ema3avg = atype == 1 ? sma(src,len) : atype == 2 ? ema(src,len) : atype == 3 ? wma(src,len) : atype == 4 ? hullma : atype == 5 ? vwma(src, len) : atype == 6 ? rma(src,len) : tema//2nd Ma - hull ma definitionhullma2 = wma(2*wma(src, len2/2)-wma(src, len2), round(sqrt(len2)))//2nd MA TEMA definitionsema1 = ema(src, len2)sema2 = ema(sema1, len2)sema3 = ema(sema2, len2)stema = 3 * (sema1 - sema2) + sema3avg2 = atype2 == 1 ? sma(src,len2) : atype2 == 2 ? ema(src,len2) : atype2 == 3 ? wma(src,len2) : atype2 == 4 ? hullma2 : atype2 == 5 ? vwma(src, len2) : atype2 == 6 ? rma(src,len2) : temaout = avg out_two = avg2out1 = security(syminfo.tickerid, res, out)out2 = security(syminfo.tickerid, res, out_two)ma_up = out1 >= out1[smoothe]ma_down = out1 < out1[smoothe]col = cc ? ma_up ? lime : ma_down ? red : aqua : aquacol2 = cc2 ? ma_up ? lime : ma_down ? red : aqua : aquacircleYPosition = out2chk=col==red?1:0if (not na(chk)) if (chk[1]==1 and chk==0) strategy.entry("RsiLE", strategy.long, comment="RsiLE") else strategy.exit("RsiLE") if (chk[1]==0 and chk==1) strategy.entry("RsiSE", strategy.short, comment="RsiLE") else strategy.exit("RsiSE") plot(out1, title="Multi-Timeframe Moving Avg", style=line, linewidth=4, color = col)plot(doma2 and out2 ? out2 : na, title="2nd Multi-TimeFrame Moving Average", style=circles, linewidth=4, color=col2)plot(sd and cross(out1, out2) ? circleYPosition : na,style=cross, linewidth=5, color=yellow)

More

  • Trend Following Strategy Based on Volume-weighted Average Price and Volatility
  • Momentum Moving Average Crossover Strategy
  • Range Filter Breakout Short-term Trading Strategy
  • Smart Money Index (SMI) Strategy Backtest
  • Quantitative Reversal and Volume Combo Strategy
  • Bollinger Bands and Fibonacci Trading Strategy
  • Bollinger Band and Stoch RSI Trading Strategy
  • Best Trailing Stop Strategy
  • RSI Long Term Trading Strategy
  • MACD of RSI Trading Strategy
  • Moving Average Scalping Strategy
  • Volatility Range Breakout Trading Strategy
  • Trend Moving Average Trading Strategy
  • Multi Trend Crossover Strategy
  • Dual Moving Average Crossover Strategy
  • Price Performance Index Strategy
  • MACD RSI Combo Trend Strategy
  • Logarithmic Moving Average Convergence Divergence Strategy
  • Absolute Price Oscillator Trend Following Strategy
  • Round Number Tracking Strategy
Multi Timeframe Moving Average Trading Strategy (2024)

FAQs

Multi Timeframe Moving Average Trading Strategy? ›

The strategy utilizes moving averages (MA) and EMA across different timeframes to identify and trade trends. By combining SMA, EMA of various periods, as well as candlestick bodies, it can effectively filter market noise and trade intermediate to long term trends with low risk.

What is the most successful moving average strategy? ›

The best way to trade moving average is to use the crossover strategy, where a shorter-period moving average crossing above a longer-period moving average generates a bullish signal, and vice versa for a bearish signal. This method helps indicate potential changes in the market trend.

What is the 5 8 13 21 EMA strategy? ›

When the shorter EMAs (5 and 8) cross above the longer EMAs (13 and 21), it generates a buy signal. Conversely, when the shorter EMAs cross below the longer EMAs, it generates a sell signal. Confirming Trends: Traders often use the alignment of EMAs to confirm the strength of a trend.

How to trade with multiple time frames? ›

Ideally, traders should use a longer time frame to define the primary trend of whatever they are trading. Once the underlying trend is defined, traders can use their preferred time frame to define the intermediate trend and a faster time frame to define the short-term trend.

What is a multiple moving average strategy? ›

The Multiple Moving Average indicator was devised by Daryl Guppy and consists of six short-term and six long-term exponential moving averages. The short-term MA's are 3, 5, 7, 10, 12 and 15 days and the long-term MA's are 30, 35, 40, 45, 50 and 60 days but these can be varied according to the Time Frame being traded.

What is the 9 21 EMA strategy? ›

What is the 9 and 21 EMA crossover strategy? The 9 and 21 EMA crossover strategy is a medium-term trading strategy. When the 9-day EMA crosses above the 21-day EMA, it generates a bullish signal, indicating a potential buying opportunity.

What is the 13 48 trading strategy? ›

How Does the 13/48 Strategy Work? When the 13-period EMA crosses above the 48-period EMA, it signals a bullish opportunity, suggesting a potential rise in price. Conversely, when the 13-period EMA crosses below the 48-period EMA, it signals a bearish opportunity, indicating a potential fall in price.

What is 4 9 18 EMA strategy? ›

The third canlde closing (and a fourth candle opening) is the signal to sell short at the market when the 9 ema < 18 ema. When the 9 ema> 18 ema, the set up would be for a long trade. This is from last Thursday's CPI news day.

What is the best EMA for different time frames? ›

The EMA gives more weight to the most recent prices, thereby aligning the average closer to current prices. Short-term traders typically rely on the 12- or 26-day EMA, while the ever-popular 50-day and 200-day EMA is used by long-term investors.

Is 5 EMA strategy profitable? ›

The setup makes our trading more profitable with minor losses and major profits. Let's know what EMA stands for: “Exponential Moving Average” is a technical chart indicator that tracks the price of a stock/index over time, giving more importance to recent price data.

What is the simplest most profitable trading strategy? ›

One of the simplest and most widely known fundamental strategies is value investing. This strategy involves identifying undervalued assets based on their intrinsic value and holding onto them until the market recognizes their true worth.

What is the 3 time frame trading strategy? ›

Multi-timeframe analysis is a technical analysis strategy that involves searching for market's potential entry points based on mutually confirming signals provided from three timeframes at once. In intraday trading, a combination of 30M, 15M, and 5-minute time frames is often used.

What is a multi timeframe moving average strategy? ›

The strategy utilizes moving averages (MA) and EMA across different timeframes to identify and trade trends. By combining SMA, EMA of various periods, as well as candlestick bodies, it can effectively filter market noise and trade intermediate to long term trends with low risk.

What is the most accurate moving average strategy? ›

But which are the best moving averages to use in forex trading? That depends on whether you have a short-term horizon or a long-term horizon. For short-term trades the 5, 10, and 20 period moving averages are best, while longer-term trading makes best use of the 50, 100, and 200 period moving averages.

What is the 8-13-21 EMA strategy? ›

The 8, 13, 21 Exponential Moving Average (EMA) strategy employs three EMAs: the 8-day EMA, 13-day EMA, and 21-day EMA, each offering insights into market trends and potential trade entry and exit points.

What is the 5 10 20 EMA strategy? ›

Overview. This strategy calculates the 5-day, 10-day and 20-day exponential moving average (EMA) lines and uses the Super Trend indicator to generate buy and sell signals. It generates buy signals when the 5-day EMA crosses above the 10-day EMA and both the 5-day and 10-day EMA cross above the 20-day EMA.

Which moving average is the most accurate? ›

21 period: Medium-term and the most accurate moving average. Good when it comes to trend-following trading. 50 period: Long-term moving average and best suited for identifying the longer-term direction as a filter.

What is the best moving average strategy for a 5 min chart? ›

Therefore, the exponential moving average may be considered the best moving average for a 5 min chart. A 20 period moving average will suit best.

Which indicator works best with moving average? ›

While it is difficult to determine the absolute "best" technical indicators to support a basic moving average strategy, a couple of the most common ones are trendlines and momentum indicators.

What is the best 3 EMA strategy? ›

The “best” 3 EMA strategy depends on your trading goals and preferences. The 9, 21, and 55 EMA strategy is widely used and effective for many traders. However, there are various EMA combinations, and the best strategy is one that aligns with your trading objectives, risk tolerance, and market conditions.

Top Articles
Latest Posts
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 5689

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.