Type/to search

RSI and smoothed RSI bullish divergence strategy

Common strategy
Created: 2024-03-01 12:11:58
Last modified: 3 years ago
1
Follow
1815
Followers

img

Overview

This strategy combines RSI indicator and smoothed RSI indicator to find buying opportunities at price bottoms. When RSI makes a new low while price does not make a new low, it is considered as a bullish divergence signal. Adding smoothed RSI trend judgment can improve the strategy performance.

Strategy Logic

  1. Calculate RSI indicator with 14 periods.
  2. Calculate smoothed RSI using double WMA to achieve smoothing effect.
  3. Check if RSI is below 30 level, oversold status.
  4. Check if smoothed RSI is below 35, with stronger directional trend.
  5. Check if the RSI lowest point is below 25.
  6. Calculate RSI bullish divergence, find RSI making new low while price does not.
  7. Require smoothed RSI downtrend lasts more than 3 periods.
  8. Trigger buy signal when all conditions above are met.
  9. Set stop loss and take profit conditions.

The strategy mainly relies on the RSI reversal characteristic, combining with smoothed RSI trend judgment, to buy when price is under pressure while RSI is oversold. Close position when stop loss or take profit is touched.

Advantage Analysis

  1. Dual RSI indicators combination improves strategy performance.
  2. Utilize the RSI reversal feature, has a probability edge.
  3. Smoothed RSI trend judgment helps avoid false reversals.
  4. Complete stop loss and take profit logic can limit risks.

Risk Analysis

  1. Probability of RSI reversal failure cannot be completely avoided.
  2. Smoothed RSI has lagging effect, may miss best entry timing.
  3. Stop loss set too loose, risk of expanding losses.

Can optimize entry timing by adjusting RSI parameters. Tighten stop loss distance for faster stopping out. Combine with other indicators to judge trend risk, lower false reversal rate.

Optimization Directions

  1. Test effectiveness of RSI under different parameter sets.
  2. Enhance smoothed RSI calculation for better smoothing quality.
  3. Adjust stop loss and take profit points, find optimal risk-reward ratio.
  4. Add momentum indicators etc. to avoid low momentum situations.

Further improve strategy performance by parameter tuning and combining more indicators.

Conclusion

The strategy utilizes the RSI reversal characteristic overall. The dual RSI combination fully leverages the reversal effect while also introduces uncertainty from indicator divergence. It is a typical indicator strategy idea. Can improve indicator adaptiveness through relentless testing and optimizing. Also combine more indicators to reduce misjudging and enhance robustness.

Source
Pine
/*backtest
start: 2024-01-30 00:00:00
end: 2024-02-29 00:00:00
period: 1m
basePeriod: 1m
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/
// © BigBitsIO

//@version=4
Strategy parameters
Strategy parameters
Take Profit %
Stop Loss %
RSI Lookback Period
Buy Below Lowest Low In RSI Divergence Lookback Target %
Source of Buy Below Target Price
Smoothed RSI Lookback Period
RSI Currently Below
RSI Divergence Lookback Period
RSI Lowest In Divergence Lookback Currently Below
RSI Sell Above
Minimum SRSI Downtrend Length
Smoothed RSI Currently Below
Plot Target
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)