[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] select groups or watchlist in automatic analysis



PureBytes Links

Trading Reference Links


Hello,
 
< ... script >
 
buy = ( groupid == 23 ) AND .....
 
where 23 is the ordinal number of the group of your 
choice.
 
BTW: I will add functions to retrieve 
groups/markets directly in AFL.
 
Best regards,
Tomasz Janeczko
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tom Supera 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: 30 October, 2001 12:13
Subject: Re: [amibroker] select groups or 
watchlist in automatic analysis

Dear Tomasz,
 
How can i include this script in my 
buycond
 
Tom Supera
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tomasz Janeczko 

To: <A title=amibroker@xxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, October 30, 2001 11:54 
AM
Subject: Re: [amibroker] select groups 
or watchlist in automatic analysis

Hello,
 
Currently AFL has no such function butyou 
can
embed a little script:
 

EnableScript<FONT 
face="Courier New" size=2>(<FONT 
color=#ff00ff>"VBScript");
ticker = <FONT 
color=#0000ff>Name();
<%
Set oAB = <FONT 
color=#0000ff>CreateObject(<FONT 
color=#ff00ff>"Broker.Application")
AFL("groupID") 
= OAB.Stocks( AFL("ticker") ).GroupID
%>
// here groupid variable contains the 
consecutive number of the group 0..255
 
Best regards,
Tomasz Janeczko
amibroker.com
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tom Supera 

To: <A 
title=amibroker@xxxxxxxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 

Sent: 30 October, 2001 09:57
Subject: [amibroker] select groups or 
watchlist in automatic analysis

Hi,
I want test trading systems only in groups or 
watchlists.
Is there any way to select this.
example:
 
buy = (group (biotech) or watchlist (xy) 
)     and ...
 
Tom SuperaYour use 
of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 
Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.