• Overview
  • Reviews
  • Comments (1)

Opposite Prices CD HTB

OP CD HTB (Opposite Prices Convergence/Divergence High Top Bottom) is an indicator of convergence/divergence of the bearish sentiment among the mirrored financial instruments. The indicator is the second out of the two possible versions (HBT and HTB) of the bearish convergence/divergence origins.

Multiple use of the indicator allows you to find convergences/divergences between the price of the main financial instrument and any other financial instruments simultaneously.

Users can select the sell graphical symbol and its width, as well as the color of convergence/divergence lines.

The indicator is not a lagging one. It works by ticks and is able to show convergence/divergence in the symbol's window even if there is no a separate window with a different financial instrument used for search. This allows you to open additional windows with any other indicators for a joint analysis.

As an option, the indicator can notify of a new signal using the graphical sell symbol instead of convergence/divergence lines.

In most cases, convergence/divergence is considered to be confirmed if it takes the form of a line with a graphical symbol remaining on the chart.

The search for a convergence/divergence on one financial instrument means finding the support/resistance levels!

Attention: Since the indicator is downloaded, graphical symbols are displayed in the main window only after a new convergence/divergence signal appears (unlike convergence/divergence lines). Graphical symbols are not displayed for the past periods (before the indicator was downloaded).

To plot the convergence/divergence lines in the additional window, the indicator identifies any of the eleven custom indicators (see the input parameters), if any.

The indicator can notify of the appearance of a formed signal by playing an audio signal or by sending an email.

Sample e-mail notification:

  • Subject: Opposite Prices CD HTB Signal;
  • Message: Signal,M1 - Bearish Divergence between EURAUD and AUDUSD - 2016.09.07 11:15:00.


The indicator can be used for manual or automated trading within an Expert Advisor. For automated trading, use the indicator buffer of the double type:

  1. Sell signal - buffer 0, must not be zero.

Input parameters

  1. Currency_Name - name of the financial instrument;
  2. Bars_Number - number of bars for calculation;
  3. Base_Indicator - code of the base indicator (this parameter is activated only if a custom indicator is present):
  4. Arrow_Symbol - graphical sell symbol type (recognizes one of the eight symbols, see the screenshot);
  5. Arrow_Width - graphical symbol width (allowable values - 1, 2, 3, 4, 5);
  6. Sound_Mail_Numbers - number of audio and e-mail notifications on the last two bars;
  7. DrawLine - display of convergence/divergence line.
    • true - draw the lines (default);
    • false - do not draw the lines.
  8. Convergence - calculating convergence or divergence:
    • true - convergence (default);
    • false - divergence.
  9. Ideal_Searching - searching convergence/divergence in non-ideal conditions:
    • true - ideal search conditions (default);
    • false - non-ideal search conditions.
  10. Play_Sound - enable sound notifications;
  11. Show_Time - display time remaining until the formation of the current bar;
  12. Send_Mail - send an e-mail notification;
  13. ConvLevelColor_1 - color of the convergence line in the main window;
  14. ConvLevelColor_2 - color of the convergence line in the additional window;
  15. DivLevelColor_1 - color of the divergence line in the main window;
  16. DivLevelColor_2 - color of the divergence line in the additional window.


Before operation of the indicator updating of historical data on financial instruments is required!

No reviews