Type/to search

RSI Divergence Trading Strategy

Common strategy
Created: 2024-01-22 11:45:25
Last modified: 3 years ago
1
Follow
1802
Followers

img

Strategy Name

RSI Bullish/Bearish Divergence Trading Strategy

Overview

This strategy identifies regular and hidden bullish/bearish RSI divergence signals to determine long and short positions.

Principles

When price makes a new high and RSI fails to make a new high, it forms bullish divergence, which is treated as selling signal. When price makes a new low and RSI fails to make a new low, it forms bearish divergence, which is treated as buying signal. Regular divergence refers to the obvious divergence between price and RSI while hidden divergence means relatively concealed divergence between them. Long or short positions are determined based on identified regular or hidden bullish/bearish divergence signals.

Advantage Analysis

  1. Divergence signals have relatively high reliability with higher winning rate.
  2. Identification of both regular and hidden bullish/bearish divergence provides extensive coverage.
  3. Adjustable RSI parameters make it adaptable to different market environments.

Risk Analysis

  1. Hidden divergence signals have higher probability of misjudgment.
  2. Manual review is needed to filter out misjudged signals.
  3. Effectiveness depends on RSI parameter settings.

Optimization Directions

  1. Optimize RSI parameters to find best parameter combinations.
  2. Add machine learning algorithms for automatic identification of true signals.
  3. Incorporate more indicators to verify signal reliability.

Summary

This strategy identifies RSI divergence trading signals based on regular and hidden bullish/bearish divergence to determine long or short positions, which provides relatively higher winning rate. Further improvements on strategy effectiveness could be achieved by optimizing RSI parameters, adding other validating indicators.

Source
Pine
/*backtest
start: 2023-12-22 00:00:00
end: 2024-01-21 00:00:00
period: 1h
basePeriod: 15m
exchanges: [{"eid":"Futures_Binance","currency":"BTC_USDT"}]
*/

//@version=5
strategy(title="Divergence Indicator")
len = input.int(title="RSI Period", minval=1, defval=14)
src = input(title="RSI Source", defval=close)
Strategy parameters
Strategy parameters
RSI Period
RSI Source
Pivot Lookback Right
Pivot Lookback Left
Max of Lookback Range
Min of Lookback Range
Plot Bullish
Plot Hidden Bullish
Plot Bearish
Plot Hidden Bearish
Comment
All comments (0)
No data
No data
  • 1
Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)