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

Re: [amibroker] Re: Filter and watchlist



PureBytes Links

Trading Reference Links

Hi andy,
then try this at the end of your code:

  Filter = Filter and InWatchList(16); 

// UM

----- Original Message ----- 
From: "andy_kovacs" <andy_kovacs@xxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, April 17, 2003 3:15 PM
Subject: [amibroker] Re: Filter and watchlist


> Thanks UM. I already do this. I know you can use group numbers in 
> the AFL code, groupID(0)==<num>, and I was wondering if you can also 
> use watchlist numbers, and if so what the coding would be. 
> WatchlistID(0)==16 comes up as an error... thanks anyway.
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, uenal.mutlu@xxxx wrote:
> > Hi,
> > on the right corner of AA click "ApplyTo = use filter", and define 
> your
> > own filter in the filter dialog box (click "Define"...); ie. 
> specify there the 
> > watchlist you want the scanner shall use.
> > UM
> > 
> > ----- Original Message ----- 
> > From: "andy_kovacs" <andy_kovacs@xxxx>
> > To: <amibroker@xxxxxxxxxxxxxxx>
> > Sent: Thursday, April 17, 2003 2:37 PM
> > Subject: [amibroker] Filter and watchlist
> > 
> > 
> > > Hi.
> > > 
> > > I wonder if anyone can help.
> > > 
> > > Id like to set up an explore that operates on all shares in a 
> > > watchlist. For example, I have all my current positions set up 
> in a 
> > > watchlist called "Bets". Each night I run an explore that does 
> the 
> > > following:
> > > 
> > > AddColumn(C,"Close");
> > > AddColumn(L-(2*ATR(20)),"LongStop here");
> > > AddColumn(H+(2*ATR(20)),"ShortStop here");
> > > 
> > > I then input these values as my trailing stops into my order 
> system.
> > > 
> > > However, to streamline things and not have to set the filters 
> > > manually Id like to use some filter thast instructs AB to run 
> the 
> > > explor on all shares in "bets" watchlist.
> > > 
> > > Ive tried - 
> > > filter=c>0 and watchlist=1
> > > but it prints out the whole database. Any suggestions anyone? 
> > > 
> > > Andy



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/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/