PROTECTED SOURCE SCRIPT

Harmonic Patterns

Updated
Hello Traders,

This is Harmonic Pattern script. I made this script long time ago and now pubished it for the community. it can find & show following patterns:

- Gartley
- Butterfly
- Bat
- Alternate Bat
- Crab
- Deep Crab
- Shark
- Cypher
- Double Top
- Double Bottom
- ABCD


only ABCD patterns is not enabled by default, you can enable if you want.


The script has many features in it, so you have many options. lets see them
ZigZag Period : is the period for zig zag that is used to find harmonic patterns.
Error Rate % : the patterns may not be perfect and we need to use a threshold. with this option you can set error rate
Deep Search: if you enable this option then the script check combination with old zigzag points. an example is under the explanation part
Pattern Prediction : if you set this option then while price is moving the script checks the possible next patterns that can be possible (shows first possible one). an example is under the explanation part
Show ZigZag: you have option to see zigzag
Show Pattern Names: you have option to see Pattern names
Remove Old Pattern Names: old found patterns can stay on the chart or you have option to delete from the chart by this option
Show Harmonics: you have option to show patterns
Show Targets:
you have option to see the target and stop-loss level by each harmonic
Show Statistics: you can see the statictics about harmonic patterns on current chart
Show Full Statistics: you can see the statictics about harmonic patterns on current chart in details
"Stop-loss ATR Len" and "Stop-loss ATR Mult" is used to calculate stop-loss levels
and many options for visualization and alerts...

The scripts works dynamically in real time, it means it may find different patterns on each candles. if it finds a new one in same direction then old one becomes invalid, you should check the last one.

Lets see some examples:

it changes the colors if price reached the target or stop-loss. blue => reached target, black => stop-loss, and if color was not changed it means it found another harmonic pattern.
snapshot

if it finds a harmonic pattern then it show entrty level, cancelation level of the pattern, target 1 and target 2
snapshot

and if price reaches entrty level then it shows targets and stop-loss levels
snapshot

as written above, t has ability to predict patterns if you enable this option:
snapshot

Deep search is used to find patterns by some old zigzag levels as seen in following screenshot:
snapshot

it can show full statistics if you enable it in the options:
snapshot


The source code is hidden but it's free script. so like it/favorite this script, apply it to your chart and start using it ;)



Special thanks to my friend Gornidah who helped while developing the script!


Enjoy!

Release Notes
Updates:
- now XD and AC points of XABCD are connected by dotted lines
- Labels Sizes can be changed (tiny, small, normal, large, huge)
- Line color of the patterns can be changed
- Line Width of the patterns can be changed

An example:
snapshot
Release Notes
New type Alerts added. so, while you are creating new alert, if you choose "Harmonic Patterns" and "Any alert() function call" then you will be able to get all following alerts in one. The alert set to work as "Once Per Bar"

- Pattern Prediction!
- Pattern Found /Long!
- Pattern Found /Short!
- Entry point/Long!
- Entry point/Short!
- Reached Target!
- Stop-loss!
- Pattern Cancelled!
Release Notes
Because of I see a lot of unnecessary discussions and I get a lot of messages about the script, unfortunately I had to remove some parts from the scripts. no change on listed patterns, it finds & shows the patterns listed above
Release Notes
as the new version is coming soon, this one was made lighter
harmonicscannerharmonictradelonesomethebluepatternsTrend Analysis

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer