Trendoscope

Multi ZigZag Harmonic Patterns

Trendoscope Wizard Aktualisiert   
Combining Multizigzag with harmonic patterns - this script generates harmonic patterns based on multiple deapth zigzags.

Input parameter allows to chose which Zigzag to be included in pattern identification and set different length, line color, width and style for each Zigzag combinations.

Pattern rules are as below:

Gartley

  • xab = 0.618
  • 0.382 <= abc <= 0.886
  • 1.272 <= bcd <= 1.618 OR xad = 0.786

Crab

  • 0.382 <= xab <= 0.618
  • 0.382 <= abc <= 0.886
  • 2.24 <= bcd <= 3.618 OR xad = 1.618

Deep Crab

  • xab = 0.886
  • 0.382 <= abc <= 0.886
  • 2.0 <= bcd <= 3.618 OR xad = 1.618

Bat

  • 0.382 <= xab <= 0.50
  • 0.382 <= abc <= 0.886
  • 1.618 <= bcd <= 2.618 OR xad = 0.886

Butterfly

  • xab = 0.786
  • 0.382 <= abc <= 0.886
  • 1.618 <= bcd <= 2.618 OR 1.272 <= xad <= 2.618

Shark

  • xab = 0.786
  • 1.13 <= abc <= 1.618
  • 1.618 <= bcd <= 2.24 OR 0.886 <= xad <= 1.13

Cypher

  • 0.382 <= xab <= 0.618
  • 1.13 <= abc <= 1.414
  • 1.272 <= bcd <= 2.0 OR xad = 0.786

Three Drives

  • oxa = 0.618
  • 1.27 <= xab <= 1.618
  • abc = 0.618
  • 1.27 <= bcd <= 1.618

5-0

  • 1.13 <= xab <= 1.618
  • 1.618 <= abc <= 2.24
  • bcd = 0.5

Related scripts are present here:

Versionshinweise:
Add max_bars_back
Versionshinweise:
Added alert condition
Versionshinweise:
Fixed minor calculation error with respect to zigzag
Versionshinweise:
Added ABCD patterns and Double Top/Bottom patterns to this script. With multiple zigzags running, display can become messy. Disable the ones you don't use in your input parameters.
Versionshinweise:
Fix zigzag logical error
Versionshinweise:
  • Removed not so important line width and line style parameters.
  • Set all width to 1 and style to solid.
  • Changed colors to suit dark theme :)
Versionshinweise:
Convert to pine 5
Versionshinweise:
Updated signature and tags.
Versionshinweise:
Update tags

Open-source Skript

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?