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

Re: [amibroker] Stock list reduction???



PureBytes Links

Trading Reference Links

function

ClearGrouplist(First, Last)

{

for(i=First; i<Last+1; i++)

CategoryRemoveSymbol( "", categoryGroup, i );

}

ClearGrouplist(55, 55); // clear the group first

Buy

= MA(V*C,2 50); // set your condition

if

( LastValue(Buy)>5000 000 ) // if the last value is greater than 5M

{

CategoryAddSymbol

("",categoryGroup,55); // add to group 55

}

 

Do a Scan in the AA Window

 
Wilson

 
On 6/29/05, Mark Keitel <mkeitel@xxxxxxxxxxxxxxx> wrote:

Must be real basic  yet I can not get it to run

<g>

 

 

 

Mark

 

 


From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Graham
Sent: Tuesday, June 28, 2005 8:15 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Stock list reduction???

 

this is basic, adds the tickers to group #5

buy = ma(v*c,250)>500000;
if( buy ) { CategoryAddSymbol("",categoryGroup,5); }



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software Stock investment software


YAHOO! GROUPS LINKS