[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,250);  // set your condition
if( LastValue(Buy)>5000000 )  // if the last value is greater than 5M
{
CategoryAddSymbol("",categoryGroup,55);  // add to group 55
}

!
 


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





YAHOO! GROUPS LINKS