Trading strategies with divergence detection indicator
A common approach in the financial markets is a strategy that combines divergence and other trading tools. We use a particular indicator called "divergence for many indicators" to detect divergence in this strategy. In this training, by combining this indicator with other trading tools, we examine some trading strategies with examples.

In this training, we combine this indicator with other trading tools to examine trading strategies with examples.
Related posts:
1- Types of divergence trading strategy
2- Three trading strategies based on divergence detection
What is a "divergence for many indicators" index?
This indicator automatically displays all kinds of regular and hidden divergences in the chart.
On the other hand, if several divergences occur at the same point, for example, RSI, MACD, CCI, and Stochastic, it shows us all of them.

The first strategy - Combining the divergence detection indicator and the STC indicator
Inserting the STC indicator on the chart:
To call this indicator in the trading view environment, from the indicators section, search for the name of this indicator, which is STC Indicator - A Better MACD [SHK], and insert it on the chart. As in the figure below

STC indicator settings:
In the settings of this indicator, change the following two variables as follows.
Length = 19
Fast Length = 27

How to open a long position using the divergence detection indicator and the STC indicator
The first condition - the indicator issues a positive divergence or the same buy signal.
The second condition - wait until the STC indicator line changes color from red to green and its direction is upwards.
By establishing two conditions, we open a long position.
The stop loss is set at the low price range where the long condition has occurred.
Target or take profit: Whenever the STC indicator changes color, we exit the trade, or the divergence indicator shows a sell signal (negative divergence).Whichever happens earlier.

How to open a short position using the divergence detection indicator and the STC indicator
Its rules are the opposite of the long position.
The first condition- the indicator issues a negative divergence or the same sell signal.
The second condition - wait until the STC indicator line changes color from green to red and its direction is downwards.
By establishing two conditions, we open a short position.
The stop loss is set at the high price range where the short condition occurred.
Target or take profit: whenever the STC indicator changes color, we exit the trade, or the divergence indicator shows a buy signal (positive divergence).Whichever happens earlier.

The second strategy - Combining divergence detection indicator and exponential moving average (EMA 200)
What is the EMA 200?
It is a tool used to detect market trends. Thus, if the price is above EMA 200, the market is bullish, and if the price is below EMA 200, the market is bearish.
How to open a long position using a divergence detection indicator and EMA 200
The first condition - the divergence indicator, issues a positive divergence signal.
The second condition is the price pullback on the 200 EMA line.
After establishing two conditions, enter a long position.
Stop Loss: We set the previous low or the EMA 200 line as the stop loss.
Target or take profit: To exit the trade, use one of the following two methods:
1- Stay in the trade until the divergence indicator gives a sell signal or a negative divergence.
2- Exit the trade in the upcoming resistance area.

How to open a short position using a divergence detection indicator and EMA 200
The first condition - the divergence indicator- should issue a negative divergence signal.
The second condition is the price pullback on the 200 EMA line.
After establishing two conditions, enter the short position.
Stop Loss: We set the previous high or the EMA 200 line as the stop loss.
Target or take profit: To exit the trade, use one of the following two methods:
1- Stay in the trade until the divergence indicator gives a buy signal or a positive divergence.
2- Exit the trade in the upcoming support area.
Note: In short and long positions, the order of these two conditions is not significant. The second condition may occur first, but in this case, the distance between these two events must be reasonable (3 candles).

The third strategy - Combining divergence detection indicator and support and resistance areas
First, we draw resistance and support, static and dynamic areas, in the one-hour time frame.
Now we change the time frame to 15 minutes and wait for the price chart to hunt for these support and resistance areas.
How to open a long position using the divergence detection indicator & support and resistance areas
If the price chart reaches the drawn support area in the 15-minute timeframe and shows a positive divergence, we wait until the candle closes and then enter a long position.
The Stop Loss is set as the previous low or below the support line.
Target or take profit: To exit the trade, use one of the following two methods:
1- Stay in the trade until the divergence indicator gives a sell signal or a negative divergence.
2- Exit the trade in the upcoming resistance zone.

How to open a short position using the divergence detection indicator & support and resistance areas
If the price chart reaches the drawn resistance area in the 15-minute timeframe and shows a positive divergence, we wait until the candle closes and then enter a short position.
The Stop Loss is set as the previous high or above the resistance line.
Target or take profit: To exit the trade, use one of the following two methods:
1- Stay in the trade until the divergence indicator issues a buy signal or a positive divergence.
2- Exit the trade in the upcoming support area.

This strategy can be converted into an Expert Advisor (trading robot)
Our team is ready to design and develop a custom Expert Advisor for this strategy with the highest precision and in the shortest possible time. Feel free to contact us to submit your request or receive a consultation.
Tips important
1- Do not open a trade before practicing and repeating this strategy in the demo account or past the chart.
2- Adhere to all the rules mentioned in each strategy and open your trade if the conditions are met.
The EA for this strategy
The rules above, coded as a ready-made Expert Advisor. See its inputs and platforms, or ask for a modification.




