Bearish Divergence

bear_div

Function Name: bear_div

Tags: None

Category: Other

The Bearish Divergence function marks occurrences of highs in the prices not accompanied by highs in an indicator. If the criterion of Bearish Divergence is met, a value of +1 will be returned; otherwise, a value of 0 will be returned.

A divergence is a move in the price of an asset not confirmed by a comparable move in the applied technical indicator. A bearish divergence exists when a market reaches a new high without the indicator reaching a corresponding new high.

 

Bases

Source1

Choose any symbol as the first base. By default, the first symbol that is shown on the chart is used.

Source2

Choose an indicator as the second base, for example the RSI. The indicator must already be visible on the chart in order to use it as a base.

Parameters

period

 

Default Value: 14  |  Minimum: 2  |  Maximum: 9999

 

Type: Numeric

strength

 

Default Value: 0  |  Minimum: 0  |  Maximum: 10

 

Type: Numeric