try this

if ( LastValue( Cross(MACD(), Signal()) )
{
CategoryAddSymbol( "", categoryWatchlist, 1 );
}



-- 
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com


On 15/01/07, Mohammed <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi,
>
> Any one know how to correct this code,
>
> if   ( LastValue  ( V ) > 100000 )
> {
> CategoryAddSymbol( "", categoryWatchlist, 1 );
> }
>
> I need to use Cross  (MACD(), Signal();  Instead of  ( LastValue  ( V ) > 
> 100000 ).
>
> Thanks  

Reply via email to