Type/to search

Multi Timeframe Strategy

Cryptocurrency
Created: 2024-02-19 11:13:22
Last modified: 2 years ago
1
Follow
1781
Followers

img

Overview

This strategy utilizes the agreement of indicators across multiple timeframes to track trends. It goes long or short when the daily, 10-day, 15-day and 30-day timeframes simultaneously give bullish or bearish signals, with dynamic stop loss.

Strategy Logic

The strategy judges trend direction using four timeframes - daily, 10-day, 15-day and 30-day. When the closing prices are higher than the opening prices across all four timeframes, it indicates a bullish signal. When the closing prices are lower than the opening prices across all four timeframes, it indicates a bearish signal.

When the signal is bullish, it goes long. When the signal is bearish, it goes short. After entering, KC channel is used for dynamic stop loss.

Specifically, the strategy compares the opening prices and closing prices across different timeframes to determine the trend direction. If closing price is higher than opening price, the timeframe is considered bullish and plotted in green. If closing price is lower than opening price, the timeframe is considered bearish and plotted in red.

When all four timeframes agree on a bullish signal, the strategy will open a long position. When all four timeframes agree on a bearish signal, the strategy will open a short position. It will exit when hit the stop loss or the trend reverses.

Advantages

  1. Using multiple timeframes to confirm trends can effectively filter false breakouts and determine trend direction.

  2. Dynamic stop loss can maximize capital protection.

  3. Strict entry criteria reduces unnecessary trades and slippage costs.

  4. Combining multiple timeframes balances profit speed and stability.

Risks

  1. Entry criteria may be too strict, missing some opportunities.

  2. Improper stop loss setting may be too aggressive or conservative.

  3. Inappropriate timeframe selections may not align with longer or shorter term trends.

  4. Sudden reversals from events may not trigger stop loss.

Enhancement Areas

  1. Optimize timeframe selections to balance profit speed and stability.

  2. Test different parameter settings to optimize stop loss levels.

  3. Add machine learning algorithms to assist in judging reversal points.

  4. Monitor significant events to avoid losses from sudden reversals.

Summary

This strategy integrates judgments across multiple timeframes, with strict entry criteria and dynamic stops, aiming for steady returns. It has the risk of missing opportunities and improper risk control. Next step is to continue optimizing parameters for higher stability.

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

//@version=2
strategy("[RichG] Easy MTF Strategy v1.1", overlay=false)

TF_1_time = input("D", "Timeframe 1")
Strategy parameters
Strategy parameters
Timeframe 1
Timeframe 2
Timeframe 3
Timeframe 4
KC Length
KC MultFactor
BB Length
Contract/Share Amount
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)