Harmonic Cypher
- Indikatoren
- Sergey Deev
- Version: 1.2
- Aktualisiert: 23 August 2019
- Aktivierungen: 5
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.
- 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 }
Der Benutzer hat keinen Kommentar hinterlassen