What is wrog with my formula? Could any one help me please.....

The object is, each time when I run this, it replace the Watchlist 100
with the new stock eligible to BUY and it replace the Watchlist 90
with the new stock eligible to SELL.

Could any one help be with this.




CategoryRemoveSymbol( "", categoryWatchlist, 100); 
CategoryRemoveSymbol( "", categoryWatchlist, 90); 


Buy=Cross( MACD(), Signal() );
If (Buy== 0, CategoryAddSymbol( "", categoryWatchlist, 100 ), );


Sell=Cross(Signal(), MACD());
If (Sell== 0, CategoryAddSymbol( "", categoryWatchlist, 90 ), );



Reply via email to