Sebastian,
When you said “…when I created
a custom indicator, I could refer to it and use it…”, are you
referring to a coded function or a complete indicator (like an MA)?
If the former, you can create functions
and add them to an include file. Then you would use “#Include”
with the file name in a chart of scan/exploration. For example, if you stored
your functions in the file “ABFunctions.afl”, this is text you
would add to the top of your chart AFL to refer to the indicator:
#include <ABFunctions.afl>
If to the latter, you can create an
indicator, save it to an AFL text file and then add it to a chart. Typically,
these custom indicator files are saved to “…\Amibroker\Formulas\Custom\”.
They would then appear in the “Charts\Custom” list (“View à Charts”).
Regards,
Dan.
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of sebastiandanconia
Sent: Friday, November 25, 2005
10:44 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] How to refer
to a custom formula in a system test?
I created the index referred to in this post:
http://finance.groups.yahoo.com/group/amibroker/message/90273
...as a custom indicator so that I could refer to
it in a system
test. (AddtoComposite couldn't get me where
I wanted to go.) In my
old Metastock software, when I created a custom
indicator I could
simply refer to it and use it, but I haven't found
a way to do this
with Amibroker. I did a search on the
Amibroker.com discussion boards
site and there have been inquiries about this, but
with no answers.
Does this capability exist, or if not, is there a
relatively easy
workaround? TIA.
Luck to all,
Sebastian
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 other support material please check also:
http://www.amibroker.com/support.html
YAHOO! GROUPS LINKS