[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] AFL help



PureBytes Links

Trading Reference Links

 
For indicator Builder...

highlights the ref(h,-1) Bar....pattern must be completed before the ref(h 
-1) bar highlights

pat=Ref(H,-1) > Ref(H,-2) AND Ref(H,-1) > H AND C > Ref(C,-2);
Cond1=Ref(pat,1);
 Plot(C,"",IIf(Cond1,colorYellow,colorBlack),styleCandle); 

For AA window...
n last quotations and n=1....click explore

// # of patterns
pat=Ref(H,-1) > Ref(H,-2) AND Ref(H,-1) > H AND C > Ref(C,-2);
pat1=Cum(pat);

//# of bars
bars=Cum(1);

//% Pattern
Cond1=(Cum(pat)/Cum(1))*100;
 
Filter=pat > 0;
AddColumn(pat1,"#Pat",1);
AddColumn(bars,"#Bars",1);
AddColumn(Cond1,"%Pat",1.2);

Anthony
 
 
 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get a FREE REFINANCE QUOTE - click here!
http://us.click.yahoo.com/2CXtTB/ca0FAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/