RSI Long Term Trading Strategy
Overview
This strategy uses the RSI indicator to determine long-term trend direction, combined with candlestick patterns and price breakouts to generate long-term trading signals. It belongs to the RSI-based long cycle tracking strategy type.
Strategy Logic
The strategy is based on two main factors:
-
RSI Indicator
Calculates 20-period RSI to determine overall trend direction.
-
Candlestick Patterns
Judging price change over past 3 candles to confirm the trend.
- Accumulated close change over 350 indicates uptrend
- Accumulated close change below -200 indicates downtrend
It goes long when uptrend and RSI is above 30, and goes short when downtrend.
Overall it considers both RSI trend and candlestick patterns over longer periods to determine trends.
Advantages
- RSI judges long-term trend direction
- Candlestick patterns confirm the trend
- Multiple factors improve accuracy
- Longer cycle avoids over-trading
- Customizable RSI parameters and thresholds
Risks
- RSI can lag trend changes
- Simple candlestick pattern rules
- No stop loss mechanism, good exits are critical
- Long cycles cannot react to short adjustments
- Thresholds need separate tuning for different products
Risks can be reduced by:
- Optimizing RSI parameters for best periods
- Adding other indicators like MACD for confirmation
- Adding moving or percentage stops
- Consider additional small trades for short cycles
- Test parameters and thresholds separately for different products
Enhancement Directions
The strategy can be improved by:
-
Testing different RSI periods for optimal parameters
e.g. test 10, 15, 30 period RSI
-
Adding confirmation indicators
e.g. require MACD golden cross for RSI uptrend
-
Optimizing stops
Consider moving stops, trails123 etc.
-
Time-based parameter optimization
Optimize parameters separately for different sessions
-
Adding short-term strategies
Combine short-term strategies to react to temporary adjustments
Summary
This long-term strategy uses RSI for trend direction, confirmed by candlestick patterns and breakouts, to focus on major trends while avoiding short-term noise. However, issues like RSI lag and weak stops exist. Improvements can be made via parameter optimization, adding confirmations, optimizing stops to combine short-term flexibility with long-term persistence, enabling stable long-term profitability.
/*backtest
start: 2022-09-14 00:00:00
end: 2023-09-20 00:00:00
period: 1d
basePeriod: 1h
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/
//@version=2
// use with eurusd h1 , gbpusd h1
strategy("RSI Long Term", overlay=true, default_qty_type = strategy.percent_of_equity, default_qty_value = 10)- 1
