See if Param() does what you want.
----- Original Message -----
From: wolfie125
To: [email protected]
Sent: December 06, 2009 1:59 PM
Subject: [amibroker] Newbie question
I am new to Amibroker. I have been using esignal and tradestation for a few
yrs, and by the way amibroker is very impressive in so many ways.
Anyway very basic question. When declaring a user function, how do i declare
a parameter as optional, eg some languages will allow something like function
aaa(optional int X).
So in AFL, how do i declare it as optional, and how do i set the default
value? Sorry i know i must have overlooked it somewhere in the user guide.
------------------------------------
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com
TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
Yahoo! Groups Links