PureBytes Links
Trading Reference Links
|
One thing I forgot to mention is, it can be optimized to re-use arrays for
plots, so that new arrays are not created for each new plot. This would
speed things up a lot, but it adds complexity.
You will notice that plotted arrays are Null unless there is a line. You
would just need to create a "array union" type function to combine many
plots, but also use more arrays when the lines would overlap. This is an
exercise left for anyone motivated enough to try.
----- Original Message -----
From: "Junya Ho" <junya.ho@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, June 25, 2003 11:54 PM
Subject: [amibroker] sample code: auto plot double bottoms and double tops
> Attached is AFL that you can #include. It will plot double bottoms and
> double tops.
>
> Notes:
> Formations can overlap (i.e. a double bottom inside another double bottom
or
> double top).
> It will can show an unlimited number of formations (plots). (Therefore it
> can be slow!)
>
> I was playing with the new functions, arrays and loops AFL features, and I
> created this to see how it would all work out. I've abandoned this
direction
> but I thought it might be useful to people who want to see some new AFL
> features.
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/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/
|