Type/to search

Multi-Timeframe RSI Moving Average Crossover Strategy

Cryptocurrency
Created: 2023-11-16 16:28:22
Last modified: 3 years ago
1
Follow
1778
Followers

img

Overview

The Multi-Timeframe RSI Moving Average Crossover Strategy is a trend following strategy across multiple timeframes. It uses RSI indicators on multiple timeframes and takes a weighted moving average of each timeframe's RSI. The final signals are generated by combining all RSI moving averages into two comprehensive indicators and trading the crossover signals, which is a typical dual moving average crossover system.

Principles

This strategy first calculates RSI indicators on multiple timeframes (1-min, 5-min, 15-min, etc). Then it takes 15-period VMA (weighted moving average) of the RSI for each timeframe to get the RSI moving average lines.

After that, all the RSI moving averages from different timeframes are combined equally into two signals - fast line and slow line. The fast line is a 100-period EMA and the slow line is a 150-period EMA.

When the fast line crosses above the slow line, a buy signal is generated. When the fast line crosses below the slow line, a sell signal is generated. By combining multi-timeframe RSI in this way, the crossover signals can effectively track trends while filtering out short-term market noise.

Advantages

  1. Combining multiple timeframes can smooth price curves and avoid false breakouts effectively.

  2. RSI indicates overbought/oversold levels, avoiding chasing new highs/lows.

  3. Dual moving averages have better holding effect than a single moving average system.

  4. Using VMA instead of SMA reduces the impact of short-term fluctuations.

Risks

  1. Multi-timeframe strategies require extensive parameter tuning, improper settings may cause missing good entries or late entries.

  2. Moving averages have poor curve fitting, underperform at trend turning points.

  3. RSI divergence happens frequently, reversal signals should be watched.

Solutions: Optimize timeframe parameters; Combine with other indicators like MACD to determine trends; Watch out for RSI divergence signals.

Optimization Directions

  1. Optimize the number of timeframes and parameter settings to better capture trends.

  2. Consider adding stop loss to control risks.

  3. Combine other indicators for better decision on trends and divergences.

  4. Test different holding period parameters for best holding effect.

Conclusion

The Multi-Timeframe RSI Moving Average Crossover Strategy generates trading signals by combining RSI indicators from multiple timeframes using a moving average system, which is a typical multi-timeframe trend following strategy. Its strength lies in effectively tracking trends and filtering out noise, but parameter tuning and risk control need attention. With further optimization, it can become a robust trend following system.

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

//@version=4
strategy(title="RSI multitimeframe SMA crossover", shorttitle="RSI multitimeframe strategy", default_qty_type= strategy.percent_of_equity, margin_long=50, default_qty_value=150)

res1 = input(title="Res 01", type=input.resolution, defval="1")
Strategy parameters
Strategy parameters
Res 01
Res 0
Res 1
Res 2
Res 3
Res 4
Res 5
Res 6
lengthRSI
lengthMA
lengthFMA
lengthFMA2
Long trades 0 or 1
Short trades 0 or 1
From Month
From Day
From Year
Thru Month
Thru Day
Thru Year
Show Date Range
Long Stop Loss (%)
Short Stop Loss (%)
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)