Return signals of the internal RSI divergences indicator of the platform.

Syntax:

Where:

RSIperiod = Relative Strength Index (RSI) indicator period of calculation, default is 5 periods

LowRSIthreshold = Lowest bound of the RSI indicator, default is 30

HighRSIthreshold = Highest bound of the RSI indicator, default is 70

Bars = Bars quantity to detect a potential divergences, default is 20

RSI DIVERGENCE Calculation: This indicator detects bullish and bearish divergences between price and the RSI. A bullish divergence occurs when the stock price makes new lows while the indicator starts to climb upward. A bearish divergence occurs when the stock price makes new highs while the indicator starts to go lower.

Interpretation: The divergences indicate a slowdown of the current trend and a probability of a reversal. If a bullish divergence is detected this indicator returns +1 (green histogram). If a bearish divergence is detected, the indicator returns -1 (red histogram). If no divergence is detected, the indicator returns 0.

Tip: If looking at a price chart, an RSI chart and an RSI Divergence chart, make sure that you have set the parameters of the RSI and RSI Divergence to the same levels (ex: 14).

Example:

rsi divergences indicator

 

Related entries

Share this