• Übersicht
  • Bewertungen (9)
  • Diskussion (15)
  • Neue Funktionen

Harmonic ABCD

The indicator detects and displays the AB=CD harmonic pattern on the chart according to the scheme provided in the screenshot. The pattern is plotted by the extreme values of the ZigZag indicator (included in the resources, does not require additional installation). After detecting the pattern, the indicator notifies of that by the pop-up window, a mobile notification and an email. The indicator highlights not only the complete figure, but also the time of its formation. During the formation the figure is displayed by triangle outlines. Once the figure is finally formed, a potential reversal zone is displayed on the chart. The basic figure proportions are set in the parameters. The intermediate values are calculated proportionally. The parameters include a tolerance (CD_accuracy), which determines the accuracy of the cd/bc ratios. For example, if the calculated value of cd/bc = 1.0 and tolerance is set to 0.1, then the program will use the range of 0.9 .. 1.1


  • zzDepth, zzDev, zzBack - ZigZag parameters
  • BC_min (bc/ab), BC_max (bc/ab) - minimum and maximum ratio of BC and AB levels
  • CD_min (cd/bc), CD_max (cd/bc) - minimum and maximum ratio of CD and BC levels
  • CD_accuracy - tolerance of the cd/bc ratio
  • bearColor - bearish pattern color
  • bullColor - bullish pattern color
  • CountBars - limit the amount of bars to be processed by the indicator (reduces the initial download time)
  • UseAlert - enable pop-up messages
  • UseNotification - enable push notifications
  • UseMail - enable email notifications
  • prefix - text label to ensure the uniqueness of the indicator objects on the chart (if multiple indicators are attached to the chart, different values must be entered in these parameters)
  • MessageAdd - the text string added to the notifications sent by the indicator.
  • CustomEventBuy,CustomEventSell - chart events

  • Sample to use signals in EA:

    void OnTick() {
     double x;
     x = iCustom(Symbol(),PERIOD_CURRENT,"Harmonic-ABCD",0,1); if (x != 0 && x != EMPTY_VALUE) goBuy();
     x = iCustom(Symbol(),PERIOD_CURRENT,"Harmonic-ABCD",2,1); if (x != 0 && x != EMPTY_VALUE) goSell();
    void goBuy() { // function for open BUY
    void goSell() { // function for open SELL
    void OnChartEvent(const int id, const long &lparam, const double &dparam, const string &sparam) {
     switch (id) {
      case CHARTEVENT_CUSTOM+100: 
       goBuy(); break;
      case CHARTEVENT_CUSTOM+101: 
       goSell(); break;
    void goBuy() { // function for open BUY
    void goSell() { // function for open SELL

Qun Li
Qun Li 2019.08.20 05:09 

very good

sunnychow 2018.11.05 18:34 

Good tools

Matthew Todorovski
Matthew Todorovski 2018.06.30 13:27 

1 Star (20%) = Bad

2 Star (40%) = Undecided

3 Star (60%) = Acceptable

4 Star (80%) = Good

5 Star (100%) = Excellente!

Andrey Litvichenko
Andrey Litvichenko 2017.10.29 05:14 

Der Benutzer hat keinen Kommentar hinterlassen

Ali irwan
Ali irwan 2017.07.20 00:16 

Better than I bought

Vyacheslav Korolev
Vyacheslav Korolev 2017.05.05 13:59 

Der Benutzer hat keinen Kommentar hinterlassen

Gennadiy Voltornist
Gennadiy Voltornist 2017.04.12 19:58 

Der Benutzer hat keinen Kommentar hinterlassen

Richard Jehl
Richard Jehl 2016.09.12 17:44   

Useful in backtesting. Default values contains a mistake : it is not 0.768 but 0.786 which should be entered for BC_max (square root of 0.618). Other free harmonic indicators by same author also contain mistakes. So please check the default values and correct them.

Maksym Mudrakov
Maksym Mudrakov 2016.08.29 11:53 

В сочетании с другими индикаторами, которые определяют паттерны, даёт очень качественные сигналы.

Version 1.4 2019.08.24
Add ChartEvents
Version 1.3 2019.06.10
удален логотип fx-prog.ru
Version 1.2 2016.04.12
- Buy and sell signals allocated among the indicator buffers
- Added ShowPredict parameter to hide a forming pattern