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

RE: [amibroker]ASX SECTORS, GROUPS AND INDICIES



PureBytes Links

Trading Reference Links

Sorry, you are correct Tomasz


Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx] 
Sent: Tuesday, 5 August 2003 11:14 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker]ASX SECTORS, GROUPS AND INDICIES


Graham,

No your code was incorrect because
you have written:
Filter = InWatchlist()==x and Inwatchlist()==y; //where x and y arre the
watchlist numbers

First of all your code produces SYNTAX ERROR
because InWatchList function requires ONE ARGUMENT
(watch list number).

Second thing is that InWatchList function returns 1 (if given symbol belongs
to watch list passed as argument) or 0 otherwise.

it does not return watch list number (as your code assumed)

Correct use is:
Filter= InWatchList( x ) AND InWatchList( y );

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Graham" <gkavanagh@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, August 05, 2003 2:07 PM
Subject: RE: [amibroker]ASX SECTORS, GROUPS AND INDICIES


Tomasz, I think my code was correct, he wanted the charts to be in both the
banks AND the ASX200 watchlists, so using AND is correct Perhaps you could
explain why I am wrong

>From the help example it is for stocks in either '3' OR '5' watchlists
Filter= InWatchList( 3 ) OR InWatchList( 5 );


Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: Tomasz Janeczko [mailto:amibroker@xxxxxx]
Sent: Tuesday, 5 August 2003 7:31 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker]ASX SECTORS, GROUPS AND INDICIES


Hello,

The code you provided is INCORRECT,

Correct usage of InWatchList function
http://www.amibroker.com/guide/afl/afl_view.php?name=INWATCHLIST

 is:

Filter = InWatchList( X ) AND InWatchList( Y );
//where X and Y arre the watchlist numbers


InWatchList function returns TRUE or FALSE depending if
given symbol belongs to watch list of the number given by the argument of
function call.

Best regards,
Tomasz Janeczko
amibroker.com

----- Original Message -----
From: "Graham" <gkavanagh@xxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, August 05, 2003 3:03 AM
Subject: RE: [amibroker]ASX SECTORS, GROUPS AND INDICIES


You could use
Filter = InWatchlist()==x and Inwatchlist()==y; //where x and y arre the
watchlist numbers

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: Walter Kimble [mailto:walter@xxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, 5 August 2003 8:52 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker]ASX SECTORS, GROUPS AND INDICIES


Thanks Graham,

I downloaded the groups from the ASX website and imported them into AB.

One further question is:

I want to run a back test or a scan on say the banks in the ASX 200.  I have
a watchlist called ASX 200 and one called banks. But I have not figured out
how to achieve  the result I am looking for.

Any ideas would be appreciated

Regards

Walter

>>> gkavanagh@xxxxxxxxxxxxx 4/8/2003 16:48:12 >>>
I get them from the ASX website, but I believe the csv file for importing
via script is posted to the files at the yahoo site or amibroker website
forum. There is also a script for doing the import there.

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: Walter Kimble [mailto:walter@xxxxxxxxxxxxxxxxxxx]
Sent: Monday, 4 August 2003 4:43 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: RE: [amibroker]ASX SECTORS, GROUPS AND INDICIES


Does anyone have watch lists set up that include stock names for the shares
on the ASX. I have input for the ASX 20,50,100,200 but would like shares in
the index for mining, gold,banking etc etc.

Does anyone know where I can import such watch lists to save me typing in
all the various combinations?

Regards

Walter


------------------------ Yahoo! Groups Sponsor ---------------------~--> DVD
players starting at 44.99 Whether you&zdot;re looking for easy-to-use or super
high-tech, we have the perfect DVD player for your music and movies.
http://us.click.yahoo.com/RmefYB/_SaGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



Yahoo! Groups Sponsor  ADVERTISEMENT

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

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy
Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer
at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




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

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy
Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer
at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



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

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/




------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy
Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer
at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/