PureBytes Links
Trading Reference Links
|
Hi All,
I coded this 1-Year high/low and 50% retracement formula:
Baseline = IIf(HHV(High,252)>Ref(HHV(High,252),-1),1,IIf(LLV(Low,252)
<Ref(LLV(Low,252),-1),-1,0));
Value = ((HHV(High,252)-LLV(Low,252))/2)+LLV(Low,252);
Plot(Value," 50% Retracement ",5,1+4);/*GREEN*/
Plot(Baseline," Baseline",7,1+4); /* yellow*/
Now, I want to code this Sideways Channels Exploration of Ken Roberts
in AB. I have no idea how to do this.
Periodicity: Daily
FORMULAE:
ColumnA: Top
Mov(Peak(1,H,1),45,S)-Ref(Mov(Peak(1,H,1),45,S),-45)
ColumnB: Bottom
Mov(Trough(1,L,1),45,S)-Ref(Mov(Trough(1,L,1),45,S),-45)
Filter:
ColA < 1 AND ColA > -1 AND ColB < 1 AND ColB > -1
Any AFL Gurus please help.
Pal
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Remanufactured Ink Cartridges & Refill Kits at MyInks.com for: HP $8-20. Epson $3-9, Canon $5-15, Lexmark $4-17. Free s/h over $50 (US & Canada).
http://www.c1tracking.com/l.asp?cid=6351
http://us.click.yahoo.com/0zJuRD/6CvGAA/qnsNAA/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/
|