PureBytes Links
Trading Reference Links
|
If variable % was available in Peak() function, we would have
something similar to
http://groups.yahoo.com/group/amibroker/message/39425
example.
DT
--- In amibroker@xxxxxxxxxxxxxxx, "cby" <cby1@xxxx> wrote:
> Hi. Maybe someone can tell me why the following does not work (bad
> args error on second line):
>
> percdiff = (((0.17 * sqrt(Close)) / Close) * 100);
> PK = Peak( H, percdiff, 1 ) == High;
>
> And this does work (actual number rather than Close):
>
> percdiff = (((0.17 * sqrt(4.5)) / 4.5) * 100);
> PK = Peak( H, percdiff, 1 ) == High;
>
> I'm sure it'll be something really dumb :-(.
>
> Thanks,
> Chris
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/KXUxcA/fNtFAA/uetFAA/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/
|