Yes that is the error
And a watch list would
have been fine too
Either way just to make it
a separate category
From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Wilson
Sent: Tuesday, June 28, 2005 9:33
PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Stock
list reduction???
of course, watchlist is one of the best features in Amibroker, my
orignal code is in watchlist, but as per requested by Mark, I changed the
"watchlist" to "group" to suit his purpose.
i think the error he mention in the reply came from this.. if ( buy )
<= "if" cant be used with array, that's why i add LastValue to
your code.. => if( LastValue(Buy)>5000 000 )
Wilson
On 6/29/05, Graham
<kavemanperth@xxxxxxxxx>
wrote:
of course the basic way is to just run the scan and add the results to
a watchlist, then all future explorations for
traidng can run with the
watchlist selected
On 6/29/05, Wilson
<wiz899@xxxxxxxxx>
wrote:
>
>
> functionClearGrouplist(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
>
>
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
---- LSpots keywords ?>---- HM ADS ?>
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
---- LSpots keywords ?>
SPONSORED LINKS
YAHOO! GROUPS LINKS