indiTraders - Forum for the Active Indian Trader  

Go Back   indiTraders - Forum for the Active Indian Trader > Tools > Software > Amibroker

DPonline
Reply
 
Bookmark and Share LinkBack (6) Thread Tools Display Modes
  #11 (permalink)  
Old 04-11-2009, 08:33 PM
edakad's Avatar
edakad edakad is offline
`
 
Join Date: Mar 2009
Posts: 1,240
Thanks: 2,698
Thanked 4,439 Times in 1,139 Posts
edakad has a reputation beyond repute
edakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond repute
Default

Originally Posted by mSanjay View Post
First

Does this qualifies for bulliish bat


Yes, it does
__________________
Just because it's not popular doesn't mean it isn't Great
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to edakad For This Useful Post:
  #12 (permalink)  
Old 04-11-2009, 08:39 PM
edakad's Avatar
edakad edakad is offline
`
 
Join Date: Mar 2009
Posts: 1,240
Thanks: 2,698
Thanked 4,439 Times in 1,139 Posts
edakad has a reputation beyond repute
edakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond repute
Default

Sanjay,

Added a buy trigger line on ur chart. But avoid first 5 min. of morning trade

__________________
Just because it's not popular doesn't mean it isn't Great
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 5 Users Say Thank You to edakad For This Useful Post:
  #13 (permalink)  
Old 04-11-2009, 08:41 PM
AC7 AC7 is offline
.....
 
Join Date: Apr 2009
Posts: 5,959
Thanks: 13,493
Thanked 14,476 Times in 5,601 Posts
AC7 has disabled reputation
Default


Thanks a ton Edakad..Much better than plain eyeballing..

Regards
Anshuman
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 3 Users Say Thank You to AC7 For This Useful Post:
  #14 (permalink)  
Old 12-11-2009, 09:36 PM
binhbean binhbean is offline
Newbie
 
Join Date: Nov 2009
Posts: 8
Thanks: 0
Thanked 92 Times in 7 Posts
binhbean will become famous soon enoughbinhbean will become famous soon enough
Default

Dear Adakad,
I have downloaded your AFL and be very interesting about your code. This detect almost patterns in charts. So, I have some comments with your AFL:

1. Some of your code are loop, so this take time to process. For example:
Code:
BullGartley4 = PTvalid AND (P1H2-V1L1)/(P1H2-V1L2) > GBmin AND (P1H2-V1L1)/(P1H2-V1L2) < GBmax
				AND (P1H1-V1L1)/(P1H2-V1L1) > GCMin AND (P1H1-V1L1)/(P1H2-V1L1) < GCMax;
I change them into:
Code:
myAX	=	P1H2-V1L2;
myAB	=	P1H2-V1L1;
myBC	=	P1H1-V1L1;
myAB_AX=	myAB/ myAX;
myBC_AB=	myBC/ myAB;	

BullGartley4 	= PTvalid  AND  (myAB_AX > GBmin) 	AND  (myAB_AX < GBmax)	AND  (myBC_AB > GCMin 	) AND  (myBC_AB < GCMax);
This will take PC less time to process, and it's easy to understant.
If you don't mind, I will improve the code for more functions. I think these will be AB=CD pattern, name of patterns.
How do you feel?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 13 Users Say Thank You to binhbean For This Useful Post:
  #15 (permalink)  
Old 13-11-2009, 07:34 AM
edakad's Avatar
edakad edakad is offline
`
 
Join Date: Mar 2009
Posts: 1,240
Thanks: 2,698
Thanked 4,439 Times in 1,139 Posts
edakad has a reputation beyond repute
edakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond repute
Default

Originally Posted by binhbean View Post
Dear Adakad,
I have downloaded your AFL and be very interesting about your code. This detect almost patterns in charts. So, I have some comments with your AFL:

1. Some of your code are loop, so this take time to process. For example:
Code:
BullGartley4 = PTvalid AND (P1H2-V1L1)/(P1H2-V1L2) > GBmin AND (P1H2-V1L1)/(P1H2-V1L2) < GBmax
				AND (P1H1-V1L1)/(P1H2-V1L1) > GCMin AND (P1H1-V1L1)/(P1H2-V1L1) < GCMax;
I change them into:
Code:
myAX	=	P1H2-V1L2;
myAB	=	P1H2-V1L1;
myBC	=	P1H1-V1L1;
myAB_AX=	myAB/ myAX;
myBC_AB=	myBC/ myAB;	

BullGartley4 	= PTvalid  AND  (myAB_AX > GBmin) 	AND  (myAB_AX < GBmax)	AND  (myBC_AB > GCMin 	) AND  (myBC_AB < GCMax);
This will take PC less time to process, and it's easy to understant.
If you don't mind, I will improve the code for more functions. I think these will be AB=CD pattern, name of patterns.
How do you feel?

Great Buddy, go ahead

My background is in database programing, so my code sometimes have traces of "SQL queries", like nesting of iifs etc.
__________________
Just because it's not popular doesn't mean it isn't Great
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 4 Users Say Thank You to edakad For This Useful Post:
  #16 (permalink)  
Old 13-11-2009, 08:57 AM
binhbean binhbean is offline
Newbie
 
Join Date: Nov 2009
Posts: 8
Thanks: 0
Thanked 92 Times in 7 Posts
binhbean will become famous soon enoughbinhbean will become famous soon enough
Default

Dear all,
Thanks for your supporting. I am now updating the code. In this version, I add some code for:

1. Name of patterns: Butterfly, Bat, Gartley, Crab.
You can easily check what patterns is it. When you click in the D point, name of a pattern will be displayed.

2. Add name for points: X, A, B, C, D.

3. I do not change code, so you can check the history for easy understanding.



I attach the code and name it with version 1.1.
Hope to receive your comments!
Attached Files
File Type: afl Harmonic_binhnd_v1.1.afl (16.3 KB, 613 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 23 Users Say Thank You to binhbean For This Useful Post:
  #17 (permalink)  
Old 13-11-2009, 09:09 AM
edakad's Avatar
edakad edakad is offline
`
 
Join Date: Mar 2009
Posts: 1,240
Thanks: 2,698
Thanked 4,439 Times in 1,139 Posts
edakad has a reputation beyond repute
edakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond reputeedakad has a reputation beyond repute
Default

Originally Posted by binhbean View Post
Dear all,
Thanks for your supporting. I am now updating the code. In this version, I add some code for:

1. Name of patterns: Butterfly, Bat, Gartley, Crab.
You can easily check what patterns is it. When you click in the D point, name of a pattern will be displayed.

2. Add name for points: X, A, B, C, D.

3. I do not change code, so you can check the history for easy understanding.



I attach the code and name it with version 1.1.
Hope to receive your comments!

__________________
Just because it's not popular doesn't mean it isn't Great
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to edakad For This Useful Post:
  #18 (permalink)  
Old 13-11-2009, 09:33 AM
LiveW's Avatar
LiveW LiveW is offline
indiTraders VIP
 
Join Date: Jun 2009
Location: Gujarat
Posts: 1,515
Thanks: 10,883
Thanked 3,004 Times in 1,254 Posts
LiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant futureLiveW has a brilliant future
Default

Originally Posted by binhbean View Post
Dear all,
Thanks for your supporting. I am now updating the code. In this version, I add some code for:

1. Name of patterns: Butterfly, Bat, Gartley, Crab.
You can easily check what patterns is it. When you click in the D point, name of a pattern will be displayed.

2. Add name for points: X, A, B, C, D.

3. I do not change code, so you can check the history for easy understanding.



I attach the code and name it with version 1.1.
Hope to receive your comments!

thanks.
only few more patterns r left would b gr8 if can b included.like
5-0 pattern
123 pattern
Three Drives Pattern
AB=CD Pattern
WW.also a very imp adding of scan for intra & eod patterns

Last edited by LiveW; 13-11-2009 at 09:37 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 4 Users Say Thank You to LiveW For This Useful Post:
  #19 (permalink)  
Old 13-11-2009, 09:36 AM
TrendPlayer's Avatar
TrendPlayer TrendPlayer is offline
Regulars
 
Join Date: Mar 2009
Posts: 219
Thanks: 520
Thanked 479 Times in 179 Posts
TrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the rough
Default

Good job!

Is it possible for you to include targets as well in this AFL as done by Kaka.
That wud give a better idea abt the setup. The logic for Targets is there in the AFL present in Gartley thread.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 2 Users Say Thank You to TrendPlayer For This Useful Post:
  #20 (permalink)  
Old 13-11-2009, 09:38 AM
TrendPlayer's Avatar
TrendPlayer TrendPlayer is offline
Regulars
 
Join Date: Mar 2009
Posts: 219
Thanks: 520
Thanked 479 Times in 179 Posts
TrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the roughTrendPlayer is a jewel in the rough
Default

Binhbean: have you done any fine tuning for "Bars of each line" parameters as well?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to TrendPlayer For This Useful Post:
Reply

indiTraders - Forum for the Active Indian Trader > Tools > Software > Amibroker


Tags
afl, bat, butterfly, crab, gartley, harmonic patterns

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://www.inditraders.com/amibroker/1934-afl-harmonic-patterns.html
Posted By For Type Date
[Komunitas AmiBroker] Pola2 Harmonic + Fibo ~ Amibroker Indonesia This thread Refback 20-08-2015 09:57 PM
Yahoo Groups This thread Refback 12-01-2014 02:31 PM
Untitled document This thread Refback 24-06-2012 05:54 AM
[Komunitas AmiBroker] Pola2 Harmonic + Fibo ~ Amibroker Indonesia This thread Refback 05-02-2012 03:25 PM
Amibroker Indonesia: [Komunitas AmiBroker] Pola2 Harmonic + Fibo This thread Refback 14-04-2010 06:25 PM
[Komunitas AmiBroker] Pola2 Harmonic + Fibo This thread Refback 07-04-2010 04:43 PM

DPonline

All times are GMT +5.5. The time now is 05:02 PM.


vBulletin Copyright by vBulletin

Content Relevant URLs by vBSEO 3.3.2