In the financial markets, divergence between an indicator and price holds exceptional value for a trader.
It can provide advance warning of a reversal or generate clear signals to tighten stops due to a weakening current trend, pointing to solid entry or exit opportunities.
We can classify it into two categories:
- A bullish divergence occurs when prices make a lower low than the previous one, while the indicator fails to make a lower low.
- A bearish divergence occurs when prices make a higher high than the previous one, while the indicator fails to make a higher high.
In BlackArrow, the Divergence Detector displays divergences on trend indicators or oscillators.
To use the indicator, access Indicators under the View menu:
Search for the indicator in question and click Insert:
Developed by Leo Nonato, the Divergence Detector indicator uses advanced calculations to track divergences across 11 different price oscillators, signaling potential price reversals directly on the chart.
The indicator is based on calculations from other indicators, which include: MACD, MACD Histogram, RSI (14-period, classic type), Stochastic Oscillator, Commodity Channel Index (CCI), Momentum, OBV, Diosc, VWmacd, Chaikin Money Flow, and Money Flow Index.
The parameters for the indicators used as the calculation base for the Divergence Detector use the following values:
RSI: 14-period, classic type;
MACD: Long moving average 26, short moving average 12;
MACDH: Long moving average 26, short moving average 12, signal 9;
Momentum: Period 10, moving average period 1;
CCI: Period 10;
OBV: Calculated using financial volume without excluding direct trades and with no moving average set;
Stochastic: 14-period using a 3-period simple moving average;
Money Flow Index: Period 14;
Chaikin Money Flow: Period 21;
VWMacd: 12-period VWMA calculated on close price, 26-period VWMA calculated on close price; and
DIOsc: DI+/DI- indicator set to period 14. DIOsc is the subtraction of DI+ and DI- values simultaneously. This calculation is analogous to the Directional Oscillator indicator.
In this way, values for all indicators are calculated across all candlesticks in the series, and indicators are displayed inside callouts whenever a divergence occurs.
Configuring Parameters
Configure the parameters as well as the appearance of the indicator in question.
To access Properties, right-click on the indicator:
The Show hidden divergences feature displays points marked with divergence based on two conditions:
Any indicator value between the current candlestick and the right candlestick is greater (for a bullish pivot) than the line formed between the current candlestick and the right candlestick;
The indicator value at the right candlestick is greater (bullish pivot) than at the current candlestick. Thus, the Show hidden divergences setting disables this second condition and marks strictly based on the first one. Hidden divergences are those that occur between the current candlestick and the right candlestick period.
Was this content helpful?
Please rate us down below.