Type/to search

Multi Timeframe Trend Tracking Strategy

Common strategy
Created: 2024-01-18 12:01:23
Last modified: 3 years ago
1
Follow
1802
Followers

img

Overview

This strategy utilizes a combination of technical indicators across multiple timeframes to identify the trend direction for trend tracking. It combines RSI, Stoch, Stoch RSI, CCI and other indicators across the 1-min, 5-min, 15-min, 1-hour, 4-hour, and 1-day timeframes to look for combined signals meeting the criteria, thereby judging the overall current trend direction.

Strategy Logic

The core logic of this strategy lies in judging the combination of indicators across different timeframes. For each timeframe, the strategy checks whether indicators like RSI, Stoch, Stoch RSI, CCI etc. are within a set range and in an uptrend. If all the indicators in a timeframe meet the criteria, then that timeframe provides a “pass” signal.

Within the 1-min, 5-min, 15-min, 1-hour, 4-hour, and 1-day periods, any timeframe that passes provides a positive signal for tracking the overall trend. Only when all timeframes including the 1-min, 5-min, 15-min, 1-hour, 4-hour, and 1-day pass the “examination” will an actual buy signal be triggered.

In other words, if the trend judgments across all timeframes in a period are correct, then the overall trend judgment becomes very reliable, and that’s when a position will be opened for long. By judging the combined trend signals from indicators across multiple timeframes, the overall trend can be determined more precisely, filtering out false signals and reducing trading frequency.

Advantage Analysis

  1. Using combined signals from indicators across multiple timeframes can significantly reduce false signals and lower trading frequency.

  2. By observing trend consistency across multiple short-term and long-term timeframes, the overall trend direction can be determined more precisely.

  3. Reasonable parameter settings can control drawdowns to some extent. Stop loss and take profit settings may lock in partial profits, lowering risks.

  4. Allowing customizable combinations of indicator parameters enables tuning for different markets to improve adaptability.

Risk Analysis

  1. Since this strategy tracks the overall trend, when trends reverse it may fail to exit positions in time, posing sizable drawdown risks.

  2. Inadequate parameter settings may miss trend opportunities or increase trading frequency. Extensive backtests are needed to optimize parameters.

  3. Judgments across multiple timeframes may miss short-term trend opportunities. Optimization can be helpful, by allowing signals even if criteria aren’t fully met on some timeframes.

Optimization Directions

  1. Optimize parameters for technical indicators on each timeframe to find the optimum combination.

  2. Test the effect of allowing signals based on judgments from only some timeframes. For instance, alignment of 1-min and 15-min may be sufficient for a buy.

  3. Incorporate new technical indicators to enrich the types of indicators used for multi-timeframe judgments. MACD, KD, Bollinger Bands etc. can be considered.

  4. Test stop loss and take profit levels to find optimum parameters. If stop loss range is too small, stop loss risks may increase; if too wide, profit opportunities may be missed.

Conclusion

The main innovation of this strategy lies in utilizing the combined signals from technical indicators across multiple timeframes to determine the overall trend direction. Ensuring short-term and long-term trend alignments before choosing entry timing can significantly reduce false signals and capture trend trading opportunities. Through parameter optimization, superb drawdown metrics can be obtained. Overall, this is a relatively stable, low-risk trend tracking strategy suitable for long-term holdings.

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

//@version=3
strategy("Intellitrader - Buy - BACKTESTER", overlay = true)
//study("APEX - Tester - Buy/Sell Strategies - Basic ", overlay = true)
source_main             = close
Strategy parameters
Strategy parameters
INTELLITRADER BACKTESTER
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ PC ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
Use Percent Change (On / Off)
Perc.Change - 1m - Min
Perc.Change - 1m - Max
Perc.Change - 5m - Min
Perc.Change - 5m - Max
Perc.Change - 15m - Min
Perc.Change - 15m - Max
Perc.Change - 1h - Min
Perc.Change - 1h - Max
Perc.Change - 4h - Min
Perc.Change - 4h - Max
Perc.Change - 1d - Min
Perc.Change - 1d - Max
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ 1m ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
RSI 7 - Min
RSI 7 - Max
RSI 7 ? (On / Off)
RSI 7 Raising? (On / Off)
RSI 14 - Min
RSI 14 - Max
RSI 14 ? (On / Off)
RSI 14 Raising? (On / Off)
STOCH 14 3 3 - Min
STOCH 14 3 3 - Max
STOCH 14 3 3 ? (On / Off)
STOCH 14 3 3 Raising? (On / Off)
STOCHRSI 14 14 3 3 - Min
STOCHRSI 14 14 3 3 - Max
STOCHRSI 14 14 3 3 ? (On / Off)
STOCHRSI 14 14 3 3 Raising? (On / Off)
CCI 20 - Min
CCI 20 - Max
CCI 20 ? (On / Off)
CCII 20 Raising? (On / Off)
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ 5m ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
RSI 7 - Min
RSI 7 - Max
RSI 7 ? (On / Off)
RSI 7 Raising? (On / Off)
RSI 14 - Min
RSI 14 - Max
RSI 14 ? (On / Off)
RSI 14 Raising? (On / Off)
STOCH 14 3 3 - Min
STOCH 14 3 3 - Max
STOCH 14 3 3 ? (On / Off)
STOCH 14 3 3 Raising? (On / Off)
STOCHRSI 14 14 3 3 - Min
STOCHRSI 14 14 3 3 - Max
STOCHRSI 14 14 3 3 ? (On / Off)
STOCHRSI 14 14 3 3 Raising? (On / Off)
CCI 20 - Min
CCI 20 - Max
CCI 20 ? (On / Off)
CCII 20 Raising? (On / Off)
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ 15m ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
RSI 7 - Min
RSI 7 - Max
RSI 7 ? (On / Off)
RSI 7 Raising? (On / Off)
RSI 14 - Min
RSI 14 - Max
RSI 14 ? (On / Off)
RSI 14 Raising? (On / Off)
STOCH 14 3 3 - Min
STOCH 14 3 3 - Max
STOCH 14 3 3 ? (On / Off)
STOCH 14 3 3 Raising? (On / Off)
STOCHRSI 14 14 3 3 - Min
STOCHRSI 14 14 3 3 - Max
STOCHRSI 14 14 3 3 ? (On / Off)
STOCHRSI 14 14 3 3 Raising? (On / Off)
CCI 20 - Min
CCI 20 - Max
CCI 20 ? (On / Off)
CCII 20 Raising? (On / Off)
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ 1h ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
RSI 7 - Min
RSI 7 - Max
RSI 7 ? (On / Off)
RSI 7 Raising? (On / Off)
RSI 14 - Min
RSI 14 - Max
RSI 14 ? (On / Off)
RSI 14 Raising? (On / Off)
STOCH 14 3 3 - Min
STOCH 14 3 3 - Max
STOCH 14 3 3 ? (On / Off)
STOCH 14 3 3 Raising? (On / Off)
STOCHRSI 14 14 3 3 - Min
STOCHRSI 14 14 3 3 - Max
STOCHRSI 14 14 3 3 ? (On / Off)
STOCHRSI 14 14 3 3 Raising? (On / Off)
CCI 20 - Min
CCI 20 - Max
CCI 20 ? (On / Off)
CCII 20 Raising? (On / Off)
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ 4h ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
RSI 7 - Min
RSI 7 - Max
RSI 7 ? (On / Off)
RSI 7 Raising? (On / Off)
RSI 14 - Min
RSI 14 - Max
RSI 14 ? (On / Off)
RSI 14 Raising? (On / Off)
STOCH 14 3 3 - Min
STOCH 14 3 3 - Max
STOCH 14 3 3 ? (On / Off)
STOCH 14 3 3 Raising? (On / Off)
STOCHRSI 14 14 3 3 - Min
STOCHRSI 14 14 3 3 - Max
STOCHRSI 14 14 3 3 ? (On / Off)
STOCHRSI 14 14 3 3 Raising? (On / Off)
CCI 20 - Min
CCI 20 - Max
CCI 20 ? (On / Off)
CCII 20 Raising? (On / Off)
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ 1d ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
RSI 7 - Min
RSI 7 - Max
RSI 7 ? (On / Off)
RSI 7 Raising? (On / Off)
RSI 14 - Min
RSI 14 - Max
RSI 14 ? (On / Off)
RSI 14 Raising? (On / Off)
STOCH 14 3 3 - Min
STOCH 14 3 3 - Max
STOCH 14 3 3 ? (On / Off)
STOCH 14 3 3 Raising? (On / Off)
STOCHRSI 14 14 3 3 - Min
STOCHRSI 14 14 3 3 - Max
STOCHRSI 14 14 3 3 ? (On / Off)
STOCHRSI 14 14 3 3 Raising? (On / Off)
CCI 20 - Min
CCI 20 - Max
CCI 20 ? (On / Off)
CCII 20 Raising? (On / Off)
Backtest Start Year
Backtest Start Month
Backtest Start Day
Backtest Stop Year
Backtest Stop Month
Backtest Stop Day
Trailing Stop
Trailing Stop (%)
Take Profit
Take Profit (%)
Trailing Profit (%)
Stop Loss
Stop Loss (%)
Turn ON Tradingview Alerts ?
⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻ S/R Lines ⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻⎻
Show S/R Lines
VolumeMA
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)