Type/to search

Delayed RSI Trading Strategy

Cryptocurrency
Created: 2023-10-07 15:38:56
Last modified: 3 years ago
1
Follow
1781
Followers

Overview

The Delayed RSI trading strategy utilizes the conventional RSI indicator to identify overbought and oversold conditions, and delays entering the market for a certain period after the signal appears to avoid unnecessary losses from fake breakouts. The main idea of this strategy is to use the RSI indicator to judge the overbought and oversold market conditions, and achieve more accurate entry timing by delaying entry based on this judgment.

Strategy Logic

This strategy uses a 21-period RSI indicator to determine overbought and oversold conditions. When the RSI indicator crosses above the user-defined overbought level (default 60), the market is considered overbought. When the RSI crosses below the user-defined oversold level (default 40), the market is considered oversold.

After identifying overbought or oversold signals, the strategy does not enter the market immediately. Instead, it starts counting the delay period. When the delay period (default 15 bars) is met, it enters short based on overbought signal, and long based on oversold signal.

The strategy allows users to adjust the delay period to achieve different entry timing. Longer delay period can avoid more fake breakouts, but may also miss better entry opportunities. Users need to adjust the delay period parameter based on the characteristics of specific products.

In addition, the strategy also implements options like stop loss, take profit, reverse trading, etc. Users can choose fixed stop loss, trailing stop loss, fixed take profit and so on to manage positions. The trading logic can also be reversed, i.e. go long on overbought signals and short on oversold signals.

Advantages

  1. Utilize RSI indicator to identify overbought/oversold conditions accurately and catch reversal opportunities. RSI is a mature oscillator widely used to identify reversals.

  2. Delayed entry avoids losses from fake breakouts. Many breakouts do not necessarily lead to real reversals. Delayed entry verifies the validity.

  3. Adjustable delay period allows accurate entry timing. Users can optimize delay period based on product characteristics for best entry.

  4. Implement stop loss and take profit to control risks. The strategy offers multiple ways like fixed SL/TP, trailing SL etc to manage risks.

  5. Reverse trading option adapts to different products. Users can choose normal or reverse logic to hedge uncertainties.

Risks

  1. Risk of fake signals from RSI. RSI signals may not always be accurate and can give false signals sometimes.

  2. Risk of missing opportunities if delay is too long. Excessive delay period can result in missed entry points.

  3. Increased loss risk from reverse trading. Although reverse trading hedges uncertainties, it may also amplify total loss.

  4. Risk of trailing SL being too close and getting stopped out prematurely.

  5. Insufficient profit due to inaccurate fixed TP. Fixed TP cannot achieve max profit and needs reasonable forecast.

To address these risks, optimization suggestions are:

  1. Filter RSI signals with other indicators like KDJ, MACD etc to improve reliability.

  2. Backtest with historical data to find optimal delay period for each product. One size does not fit all.

  3. Use reverse logic cautiously, preferably combine with trend following.

  4. Keep wide buffer for trailing SL to avoid prices getting too close.

  5. Test different TP ratios to find optimum. Consider dynamic take profit also.

Optimization Opportunities

The strategy can be further optimized in the following aspects:

  1. Combine multiple indicators to filter entry signals, e.g. KDJ, MACD with RSI for more robust signals.

  2. Dynamically adjust delay period based on market volatility. This maintains false breakout avoidance while improving entry accuracy.

  3. Optimize SL/TP strategies, such as dynamic SL, profit retracement ratio SL, time-based SL etc., making them adapt better to market swings.

  4. Incorporate trend. Gauge if breakout direction aligns with major trend. Also adjust delay period based on breakout momentum.

  5. Use machine learning to find optimal parameter combinations. ML can auto tune parameters based on large training and backtest datasets.

In conclusion, the strategy has ample room for optimization via indicator combos, dynamic tuning of parameters, trend integration etc. ML is also a promising direction going forward.

Summary

The Delayed RSI strategy overall utilizes RSI to identify overbought/oversold conditions, and delays entry for a period after signal occurs to avoid unnecessary losses from fakeouts. The strategy has advantages like accurate signal identification, delayed entry to avoid false breaks, adjustable delay period, SL/TP implementation etc. But risks like unreliable RSI signals, missed opportunities from excess delay exist. These can be improved further through optimizing signal accuracy via indicator combos, dynamic delay period tuning, better SL/TP strategies etc. The strategy has broad optimization opportunities and is worth exploring.

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

// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © tweakerID and © BacktestRookies

// This strategy uses a 21 period RSI with an overbought (RSI indicator 
Strategy parameters
Strategy parameters
Strategy Direction
-----------------Strategy Inputs-------------------
RSI Length
Overbought
Oversold
Entry Delay (# of Bars)
Use Strategy Close
-----------------General Inputs-------------------
Use Stop Loss and Take Profit
Use Trailing Stop
Type Of Stop
Swing Point Lookback
Swing Point SL Perc Increment
ATR Length
ATR Multiple
Take Profit Risk Reward Ratio
Allow Direct Position Reverse
Reverse Trades
Comment
All comments (0)
No data
No data
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)