This is read-only version of AFL library entry. Ability to add user formulas
and comment is only available from members-only area.
Details:
Formula name:
ZigZag filter rewrited from scratch in AFL
Author/Uploader:
Tintin92 - (email hidden)
Date/Time added:
2004-12-28 17:42:50
Origin:
Keywords:
Level:
medium
Flags:
indicator
DISCLAIMER: Most formulas present in AFL on-line library are submitted
by the users and are provided here on an "as is" and "as available" basis.
AmiBroker.com
makes no representations or warranties of any kind to the contents or the operation
of material presented here. We do not maintain nor provide technical support
for 3rd party formulas. Description:
Has anybody tried this script without getting errors or are you all on Holidays.
Tomasz Janeczko tj --at-- amibroker.com 2004-12-31 05:17:38
To the author:
Please DO NOT POST codes that use features available only in beta versions (such as _SECTION_BEGIN/_SECTION_END) because most people do NOT have BETA version installed.
===============
To the users getting Syntax error on this code:
this formula:
You are getting syntax error because this formula uses _SECTION_BEGIN / _SECTION_END functions which are available ONLY IN most recent BETA VERSIONS of AmiBroker (available to registered users only). If you are using version 4.60 or older you must REMOVE all _SECTION_BEGIN / _SECTION_END lines from the code.
Tomasz Janeczko tj --at-- amibroker.com 2004-12-31 05:23:31
To the author:
If you really have to use new features INCLUDE THE INFORMATION that
your formula REQUIRES BETA version.
Better yet - USE VERSION STATEMENT that is designed SPECIFICALLY FOR THIS
(i.e. to make sure that user is informed about minimum requirements when running given formula).
http://www.amibroker.com/f?version
For example, putting this on the top of your formula
Version(4.65);
Will ensure that user will receive appropriate message when trying to run
given formula on lower versions.
Dan danzietlow [at] hotmail.com 2005-01-12 02:13:09
I am running beta version 4.66.2, but still get syntax errors at line 39 "{". Anyone else?
Anders http://www.musikprylar.se 2005-01-19 02:08:47
Try this one, it should work;
==================================================
Graham gkavanagh [at] e-wire.net.au 2005-10-16 21:15:28
Why you have defined a variable twice? AB only remembers the last definition, unless I am missing something
ZigZArray = Avg;
ZigZArray = Null;
you can just say
ZigZArray = Null;
Tintin92
2005-11-12 06:32:02
Why you have defined a variable twice?
I think it is safer to first define a array with a other array than just a null value.
I think it is safer, but I am not sure about it.
A better choice will be to define directly like a Array.
Something like that :
ZigZArray = Array;