PureBytes Links
Trading Reference Links
|
change is % change
-- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com
On 14/04/07, James <jamesmemphis@xxxxxxxxx> wrote:
Obviously a typo. Peak and trough.
----- Original Message ---- From: James <
jamesmemphis@xxxxxxxxx> To: amibroker@xxxxxxxxxxxxxxxSent: Friday, April 13, 2007 2:21:42 PM
Subject: [amibroker] peak/trough question
What does change mean in the syntax of peak and trough? It is not explained in the reference quide at all.
PEAK
− peak
SYNTAX peak(ARRAY, change, n = 1)
RETURNS ARRAY
FUNCTION Gives the value of ARRAY n−th peak(s) ago. This uses the Zig Zag function (see Zig Zag) to
determine the peaks. n =1 would return the value of the most recent peak. n
=2 would return
the value of the 2nd most recent peak. Caveat: this function is based on Zig−Zag indicator
and may look into the future.
EXAMPLE peak(close,5, 1)
__._,_.___
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
SPONSORED LINKS
__,_._,___
|