• Overview
  • Reviews (7)
  • Comments (9)
  • What's new

Harmonic Cypher

The indicator detects and displays Cypher harmonic pattern also known as Anti-Butterfly (see the screenshot). The pattern is plotted by the extreme values of the ZigZag indicator (included in the resources, no need to install). After detecting the pattern, the indicator notifies of that by a pop-up window, a mobile notification and an email. The indicator highlights the process of the pattern formation and not just the complete pattern. In the former case, it is displayed in the contour triangles. After the pattern is complete, a potential reversal zone appears on the chart. The default settings are somewhat extended for a greater amount of patterns.


Parameters
  • zzDepth, zzDev, zzBack - ZigZag parameters
  • AB_min, AB_max - minimum and maximum ratio of AB and AX levels
  • CX_min, CX_max - minimum and maximum ratio of CX and AX levels
  • CD_min, CD_max - minimum and maximum ratio of CD and CX
  • 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 for indicator objects on a chart (enter various values for these parameters when applying several indicators to the chart)
  • MessageAdd - text line added to the notifications sent to indicators
  • ShowPreset - allow the pattern display during its formation
  • CustomEventBuy,CustomEventSell - chart events

  • Sample to use signals in EA:

    void OnTick() {
     double x;
     x = iCustom(Symbol(),PERIOD_CURRENT,"Harmonic-Cypher",0,1); if (x != 0 && x != EMPTY_VALUE) goBuy();
     x = iCustom(Symbol(),PERIOD_CURRENT,"Harmonic-Cypher",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
    }
    



sunnychow
8385
sunnychow 2018.12.16 13:19 
 

Thanks for sharing, good job.

Matthew Todorovski
12899
Matthew Todorovski 2018.06.30 13:45 
 

1 Star (20%) = Bad

2 Star (40%) = Undecided

3 Star (60%) = Acceptable

4 Star (80%) = Good

5 Star (100%) = Excellente!

Mauro Giuseppe Tondo
1681
Mauro Giuseppe Tondo 2018.06.05 23:00 
 

User didn't leave any comment to the rating

Tim Eubanks
5447
Tim Eubanks 2018.03.15 06:33 
 

Nice indicator, but it should provide targets.

Ali irwan
5136
Ali irwan 2017.07.20 13:36   

good

Gennadiy Voltornist
12010
Gennadiy Voltornist 2017.04.16 20:36 
 

User didn't leave any comment to the rating

Maksym Mudrakov
21704
Maksym Mudrakov 2016.08.29 11:56 
 

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

Version 1.2 2019.08.23
Add ChartEventCustom
Version 1.1 2019.06.10
Удален логотип fx-prog.ru