FXCM Forex Trading

Harmonic Pattern

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Harmonic Pattern

Postby Apprentice » Mon Jul 04, 2011 3:39 pm

Harmonic Pattern.png

This indicator. It is based on ZigZag indicator.
I also plan to add support for GannSwing.

Harmonic Pattern.lua
(11.91 KiB) Downloaded 8604 times


Test.png
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 14487
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Harmonic Pattern

Postby Prodigalpops » Mon Jul 04, 2011 4:15 pm

Hi Apprentice.
Looks like a good start; like the solid colour, but I don't think the ratios for those patterns are correct.

I'm still putting my code together but these are a few of the patterns I can currently generate (EUR/USD 15m)

Bat_Butterflypatterns.JPG
Recent EUR/USD patterns
Prodigalpops
 
Posts: 5
Joined: Thu Jun 16, 2011 2:45 pm

Re: Harmonic Pattern

Postby Apprentice » Tue Jul 05, 2011 12:27 am

Like I said.
This is the first draft, in order to test the functionality.
The algorithm for finding patterns, needs more work.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 14487
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Harmonic Pattern

Postby emjay-short » Wed Jul 06, 2011 3:49 am

Thank you very much!!! I really like that idea. Bought a book (Trade what you see by Pesavento & Jouflas) about patterns 4 months ago, doing it live is so hard. Only afterwards with hindsight and big picture will I find butterfly patterns, ABCD etc.

Thanks again.
emjay-short
 
Posts: 34
Joined: Wed Mar 16, 2011 4:21 pm

Re: Harmonic Pattern

Postby Apprentice » Wed Jul 06, 2011 3:35 pm

I have post New Version.
I need to double-check the algorithms.
But it seems to me that this is it.
Price Targets soon.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 14487
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Harmonic Pattern

Postby Apprentice » Thu Jul 07, 2011 12:59 am

Can you give a little help to friendly programmer.
Provide links to sources which provide a Price Target for all five patterns.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 14487
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Harmonic Pattern

Postby Apprentice » Thu Jul 07, 2011 2:07 am

Price target, Added.
Harmonic Pattern.png

This is an example of the ideal Pattern

Previous request is still valid.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 14487
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Harmonic Pattern

Postby Prodigalpops » Thu Jul 07, 2011 7:03 am

Snap! I get the same.
Looks good Apprentice, thanks.
Attachments
Snap!.JPG
AUD/USD 1hr crab pattern
Prodigalpops
 
Posts: 5
Joined: Thu Jun 16, 2011 2:45 pm

Re: Harmonic Pattern

Postby emjay-short » Thu Jul 07, 2011 7:18 am

Apprentice wrote:Price target, Added.
Harmonic Pattern.png

This is an example of the ideal Pattern

Previous request is still valid.


I've send you an email @ur gmail address with a pdf. Hope that helps a little.
emjay-short
 
Posts: 34
Joined: Wed Mar 16, 2011 4:21 pm

Re: Harmonic Pattern

Postby Prodigalpops » Thu Jul 07, 2011 7:22 am

...Also, just had a quick look at the patterns. I think you may need to look at the AB=CD patterns as I saw a number of CD legs that were shorter than the AB leg - and the minimum prerequisite is that CD is the same as AB (allowing for tolerance of course).
I also noticed a Crab pattern that should probably have been a Butterfly.
Good work though - well done.
Prodigalpops
 
Posts: 5
Joined: Thu Jun 16, 2011 2:45 pm

Next

Return to Custom Indicators

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 4 guests