| 
 PureBytes Links 
Trading Reference Links 
 | 
Modify your code as follows,
Disable ALL other optimizations.
Run optimization from AA
 
 
useSigA = optimize(“useSigA”,
0, 0, 1, 1);
useSigB = optimize(“useSigB”,
0, 0, 1, 1);
useSigC = optimize(“useSigC”,
0, 0, 1, 1);
useSigD = optimize(“useSigD”,
0, 0, 1, 1);
 
if (useSigA)
{
            sigA = …
}
 
If (useSigB)
{
            sigB = …
}
 
if (useSigC)
{
            sigC = …
}
 
If (useSigD)
{
            sigD = …
}
 
 
Thomas
 
 
<font size=3
face="Times New Roman">
From:<font size=2
face=Tahoma> Arthur
Sawilejskij [mailto:arthur@xxxxxxxxxxxxxxx] 
Sent: Thursday, February 26, 2004
2:39 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Help in
writing a script please
 
/*Against all odds (draft). Written by Thierry
HUITEL o-l---} */
/* based on Jim Varney's work--
CANDLESTOCHASTICS-- */
/*and all the amibroker group :-) *
The script is an Exploration to scan for 24
different user-defined buy or 
sell signals. The aim of the exploration is to
find days when many bullish 
or bearish signs are triggered at the same time.
If 5 indicators give a buy 
advice, it is more reliable than one.
----------------------------------------------
I was looking at a script in the AFL library
called "against all odds" and 
want to develop an idea that developed from that a
bit further - but have 
no idea how to go about it.
I have 4 signals - and what I would like to do is
test all the combinations 
of signals to tell me the results of each
combination - perhaps even doing 
an optimization in the process - although I'm able
to work this 
optimization bit out OK.
So, for example, if the signals are a, b, c, d -
then I would test a, ab, 
ac, ad, abc, abd, acd - etc for each signal.
This is going top be a pain to do manually - but
it seems like something AB 
could do in a canter - if only I knew what I was
doing.
Any help would be appreciated - I can see lots of
applications for this 
sort of thing.
--
Arthur Sawilejskij
Send BUG
REPORTS to bugs@xxxxxxxxxxxxx<span
>
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx 
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
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
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 |